23
August 29, 2006 1 Accessing the iSeries and Some Commands

August 29, 20061 Accessing the iSeries and Some Commands

Embed Size (px)

Citation preview

Page 1: August 29, 20061 Accessing the iSeries and Some Commands

August 29, 2006 1

Accessing the iSeriesand Some Commands

Page 2: August 29, 20061 Accessing the iSeries and Some Commands

August 29, 2006 2

Accessing the iSeries

Page 3: August 29, 20061 Accessing the iSeries and Some Commands

August 29, 2006 3

iSeries Sign-On Screen

Sign On System . : S101450F Subsystem : QBASE Display . : QPADEV0002

User . . . . . . . . . . . . . . Password . . . . . . . . . . . . Program/procedure . . . . . . . . Menu . . . . . . . . . . . . . . Current library . . . . . . . . .

Page 4: August 29, 20061 Accessing the iSeries and Some Commands

August 29, 2006 4

iSeries: OS/400 – Main MenuMAIN OS/400 Main Menu System: S101450F Select one of the following: 1. User tasks 2. Office tasks 3. General system tasks 4. Files, libraries, and folders 5. Programming 6. Communications 7. Define or change the system 8. Problem handling 9. Display a menu 10. Information Assistant options 11. iSeries Access tasks 90. Sign off Selection or command ===> F3=Exit F4=Prompt F9=Retrieve F12=Cancel F13=Information Assistant F23=Set initial menu Type option number or command.

Page 5: August 29, 20061 Accessing the iSeries and Some Commands

August 29, 2006 5

iSeries OS/400 Menu screen sections

(shown on next slide)

• header

• option list

• command line

• function keys

• F1 - help

Page 6: August 29, 20061 Accessing the iSeries and Some Commands

August 29, 2006 6

iSeries: OS/400 – Main MenuMAIN OS/400 Main Menu <header> System: S101450F Select one of the following: 1. User tasks <option list> 2. Office tasks 3. General system tasks 4. Files, libraries, and folders 5. Programming 6. Communications 7. Define or change the system 8. Problem handling 9. Display a menu 10. Information Assistant options 11. iSeries Access tasks 90. Sign off Selection or command ===> <command line> F3=Exit F4=Prompt F9=Retrieve F12=Cancel F13=Information Assistant <function keys> F23=Set initial menu Type option number or command. <F1 always provides context sensitive help>

Page 7: August 29, 20061 Accessing the iSeries and Some Commands

August 29, 2006 7

iSeries OS/400

3 Ways for Issuing Commands

1. menus

2. command line

3. CL program

Page 8: August 29, 20061 Accessing the iSeries and Some Commands

August 29, 2006 8

Using Menus:Creating a Source Physical File

MAIN AS/400 Main Menu

Select one of the following: 1. User tasks 2. Office tasks 3. General system tasks 4. Files, libraries, and folders 5. Programming

90. Sign off

Selection or command ===> 4 F3=Exit F4=Prompt F9=Retrieve F12=Cancel F13=Information Assistant F23=Set initial menu

MENU SCREEN

Page 9: August 29, 20061 Accessing the iSeries and Some Commands

August 29, 2006 9

DATA Files, Libraries, and Folders

Select one of the following: 1. Files 2. Libraries 3. Folders 4. Client Access tasks 5. Integrated File System

Selection or command ===> 1

F3=Exit F4=Prompt F9=Retrieve F12=Cancel F13=Information AssistntF16=AS/400 Main menu

MENU SCREEN

Using Menus:Creating a Source Physical File

Page 10: August 29, 20061 Accessing the iSeries and Some Commands

August 29, 2006 10

Using Menus:Creating a Source Physical File

FILE Files

Select one of the following: 1. Work with files 2. Save a file 3. Restore a file 4. Edit a source file

Selection or command ===> 1

F3=Exit F4=Prompt F9=Retrieve F12=Cancel F13=Information Assistant F16=AS/400 Main menu

MENU SCREEN

Page 11: August 29, 20061 Accessing the iSeries and Some Commands

August 29, 2006 11

Using Menus:Creating a Source Physical File

Work with Files (WRKF)

Type choices, press Enter.

File . . . .. . . . . . *ALL Name, generic*, *ALL Library . . . . . TOM Name, *LIBL, *CURLIBFile attributes . . *ALL *ALL, BSCF38, CMNF38, DDMF

F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use displayF24=More keys

ENTRY SCREEN

Page 12: August 29, 20061 Accessing the iSeries and Some Commands

August 29, 2006 12

Using Menus:Creating a Source Physical File

Work with Files Type options, press Enter. 1=Create 3=Copy 4=Delete 5=Display physical file member 8=Display file description 9=Save 10=Restore 13=Change description

Opt File Library Attribute Text 1 SOMEFILE TOM CSCSTP TOM PF QRPGLESRC TOM PF

Parameters for options 1, 3, 4, 5, 8, 9, 10 and 13 or command ===> F3=Exit F4=Prompt F5=Refresh F9=Retrieve F11=Display names only F12=Cancel F16=Repeat position to F17=Position to

LIST SCREEN

Page 13: August 29, 20061 Accessing the iSeries and Some Commands

August 29, 2006 13

Using Menus:Creating a Source Physical File

Select File Type

Type option, press Enter. 1=Select

File Opt Type DDM File Printer File Retail File Save File 1 Source Physical File Tape File Bottom

F5=Refresh F12=Cancel

LIST SCREEN

Page 14: August 29, 20061 Accessing the iSeries and Some Commands

August 29, 2006 14

Using Menus:Creating a Source Physical File

Create Source Physical File (CRTSRCPF)

Type choices, press Enter.

File . . . . . . . . . . . . . . > SOMEFILE Name Library . . . . . . . . . . . > TOM Name, *CURLIB Record length . . . . . . . . . 92 Number Member, if desired . . . . . . . *NONE Name, *NONE, *FILE Text 'description' . . . . . . . *BLANK

Bottom

F3=Exit F4=Prompt F5=Refresh F10=Additional parameters F12=Cancel F13=How to use this display F24=More keys

ENTRY SCREEN

Page 15: August 29, 20061 Accessing the iSeries and Some Commands

August 29, 2006 15

Using CRTSRCPF Command:Creating a Source Physical File

MAIN AS/400 Main Menu

Select one of the following: 1. User tasks 2. Office tasks 3. General system tasks 4. Files, libraries, and folders 5. Programming 90. Sign off

Selection or command ===> CRTSRCPF

F3=Exit F4=Prompt F9=Retrieve F12=Cancel F13=Information AssistantF23=Set initial menu

MENU SCREEN

Page 16: August 29, 20061 Accessing the iSeries and Some Commands

August 29, 2006 16

Using CRTSRCPF Command:Creating a Source Physical File

Create Source Physical File (CRTSRCPF)

Type choices, press Enter.

File . . . . . . . . . . . . . . > SOMEFILE Name Library . . . . . . . . . . . > TOM Name, *CURLIB Record length . . . . . . . . . 92 Number Member, if desired . . . . . . . *NONE Name, *NONE, *FILE Text 'description' . . . . . . . *BLANK

Bottom

F3=Exit F4=Prompt F5=Refresh F10=Additional parameters F12=CancelF13=How to use this display F24=More keys

ENTRY SCREEN

Page 17: August 29, 20061 Accessing the iSeries and Some Commands

August 29, 2006 17

iSeries Sreen Types

• menu

• entry

• list

• information

Page 18: August 29, 20061 Accessing the iSeries and Some Commands

August 29, 2006 18

OS/400 – Context Sensitive Help

Create Source Physical File (CRTSRCPF)

Type choices, press Enter.

File . . . . . . . . . . . . . . > Name Library . . . . . . . . . . . > Name, *CURLIB Record length . . . . . . . . . 92 Number Member, if desired . . . . . . . *NONE Name, *NONE, *FILE Text 'description' . . . . . . . *BLANK

Bottom

F3=Exit F4=Prompt F5=Refresh F10=Additional parameters F12=CancelF13=How to use this display F24=More keys

ENTRY SCREEN<Press F1 For Help>

Page 19: August 29, 20061 Accessing the iSeries and Some Commands

August 29, 2006 19

OS/400 – Context Sensitive Help

Create Source Physical File (CRTSRCPF) INFORMATION SCREEN Type choices, press Enter. File . . . . . . . . . . . . . . Name Library …............................................................................................................ Record length : File (FILE) - Help : Member, if de : : Text 'descrip : Specifies the name and library of the source physical file : : being created. If no library qualifier is specified, the :

: source physical file is stored in the current library for : : the job. : : If the file is used in a high-level language program, the

: : file name must be consistent with the naming rules of that : : language. Otherwise, the file must be renamed in the : : program. :

: More... : : F2=Extended help F10=Move to top F11=InfoSeeker :

F3=Exit F4= : F12=Cancel F20=Enlarge F24=More keys : F13=How to us : :

<Press F2 For Extended Help>

Page 20: August 29, 20061 Accessing the iSeries and Some Commands

August 29, 2006 20

iSeries OS/400 Review

Four Screen Types• menu

• entry

• list

• information

Page 21: August 29, 20061 Accessing the iSeries and Some Commands

August 29, 2006 21

iSeries OS/400 Review

Three Ways to Invoke Commands

• menus

• command line

• CL program

Page 22: August 29, 20061 Accessing the iSeries and Some Commands

August 29, 2006 22

Command Language Names

• CL = Command Language

• CL commands consist of1. Verb + Noun, or

2. Verb + Modifier(s) + Noun

For example,

WRKF = Work with File

CRTSRCPF = Create Source Physical File

Page 23: August 29, 20061 Accessing the iSeries and Some Commands

August 29, 2006 23

Some CL Verbs, Modifiers, and Nouns

CL VERB

ENGLISH CL MODIFIER/NOUN

ENGLISH CL NOUN

ENGLISH

CLR Clear ACT Active D description CPY Copy CBL Cobol DFU Data File Utility CRT Create CICS CICS E entry DSP Display CL Command

Language F file

DLT Delete JOB Job JOB Job EDT Edit LIB Library L List OPN Open MBR Member LIB library RMV Remove NW Network MAP map SND Send OUT Output MNU menu STR Start PAS Pascal MSG message WRK Work RPG RPG PDM Program development mgr. S36 System 36 PGM program SP Spooled Q queue USR User SDA Screen Design Aid Utility CALL executes a

program SEU Source Entry Utility

GO displays a menu