Вы находитесь на странице: 1из 23

Accessing the iSeries and Some Commands

August 29, 2006

Accessing the iSeries

August 29, 2006

iSeries Sign-On Screen


Sign On

System . : S101450F Subsystem : QBASE Display . : QPADEV0002 User . . . . . . . . . . . . . . Password . . . . . . . . . . . . Program/procedure . . . . . . . . Menu . . . . . . . . . . . . . . Current library . . . . . . . . .
August 29, 2006 3

iSeries: OS/400 Main Menu


MAIN 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.

August 29, 2006

iSeries OS/400
Menu screen sections
(shown on next slide)

header option list command line function keys F1 - help

August 29, 2006

iSeries: OS/400 Main Menu


MAIN 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>

August 29, 2006

iSeries OS/400
3 Ways for Issuing Commands 1. menus 2. command line 3. CL program

August 29, 2006

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
August 29, 2006 8

Using Menus: Creating a Source Physical File


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 Assistnt F16=AS/400 Main menu MENU SCREEN
August 29, 2006 9

Using Menus: Creating a Source Physical File


FILE 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
August 29, 2006 10

Files

Using Menus: Creating a Source Physical File


Work with Files (WRKF) Type choices, press Enter. File . . . .. . . . . . *ALL Library . . . . . TOM File attributes . . *ALL Name, generic*, *ALL Name, *LIBL, *CURLIB *ALL, BSCF38, CMNF38, DDMF

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

ENTRY SCREEN
August 29, 2006 11

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 1 SOMEFILE CSCSTP QRPGLESRC Library TOM TOM TOM Attribute Text

PF 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
August 29, 2006 12

Using Menus: Creating a Source Physical File


Select File Type Type option, press Enter. 1=Select Opt File Type DDM File Printer File Retail File Save File Source Physical File Tape File

Bottom

F5=Refresh F12=Cancel

LIST SCREEN
August 29, 2006 13

Using Menus: Creating a Source Physical File


Create Source Physical File (CRTSRCPF) Type choices, press Enter. File . . . . . . . . . . . . . . > SOMEFILE Library . . . . . . . . . . . > TOM Record length . . . . . . . . . 92 Member, if desired . . . . . . . *NONE Text 'description' . . . . . . . *BLANK Name Name, *CURLIB Number Name, *NONE, *FILE Bottom

F3=Exit F4=Prompt F5=Refresh F10=Additional parameters F12=Cancel F13=How to use this display F24=More keys ENTRY SCREEN
August 29, 2006 14

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 Assistant F23=Set initial menu MENU SCREEN
August 29, 2006 15

Using CRTSRCPF Command:


Creating a Source Physical File
Create Source Physical File (CRTSRCPF) Type choices, press Enter. File . . . . . . . . . . . . . . > SOMEFILE Library . . . . . . . . . . . > TOM Record length . . . . . . . . . 92 Member, if desired . . . . . . . *NONE Text 'description' . . . . . . . *BLANK Name Name, *CURLIB Number Name, *NONE, *FILE Bottom

F3=Exit F4=Prompt F5=Refresh F10=Additional parameters F12=Cancel F13=How to use this display F24=More keys ENTRY SCREEN
August 29, 2006 16

iSeries Sreen Types


menu entry list information

August 29, 2006

17

OS/400 Context Sensitive Help


Create Source Physical File (CRTSRCPF) Type choices, press Enter. File . . . . . . . . . . . . . . > Library . . . . . . . . . . . > Record length . . . . . . . . . 92 Member, if desired . . . . . . . *NONE Text 'description' . . . . . . . *BLANK Name Name, *CURLIB Number Name, *NONE, *FILE Bottom

F3=Exit F4=Prompt F5=Refresh F10=Additional parameters F12=Cancel F13=How to use this display F24=More keys ENTRY SCREEN <Press F1 For Help>
August 29, 2006 18

OS/400 Context Sensitive Help


Create Source Physical File (CRTSRCPF)

INFORMATION SCREEN
Type choices, press Enter. File . . . . . . . . . . . . . .
Name Library Record length Member, if de Text 'descrip ............................................................................................................ : File (FILE) - Help : : : : 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 : : F12=Cancel F20=Enlarge F24=More keys : : :

F3=Exit F4= F13=How to us

<Press F2 For Extended Help>


August 29, 2006 19

iSeries OS/400 Review


Four Screen Types
menu entry list information

August 29, 2006

20

iSeries OS/400 Review


Three Ways to Invoke Commands menus command line CL program

August 29, 2006

21

Command Language Names


CL = Command Language CL commands consist of
1. Verb + Noun, or 2. Verb + Modifier(s) + Noun

For example, WRKF = Work with File CRTSRCPF = Create Source Physical File
August 29, 2006 22

Some CL Verbs, Modifiers, and Nouns


CL VERB CLR CPY CRT DSP DLT EDT OPN RMV SND STR WRK ENGLISH CL MODIFIER/ NOUN ACT CBL CICS CL JOB LIB MBR NW OUT PAS RPG S36 SP USR ENGLISH CL NOUN D DFU E F JOB L LIB MAP MNU MSG PDM PGM Q SDA SEU ENGLISH

Clear Copy Create Display Delete Edit Open Remove Send Start Work

Active Cobol CICS Command Language Job Library Member Network Output Pascal RPG System 36 Spooled User

description Data File Utility entry file Job List library map menu message Program development mgr. program queue Screen Design Aid Utility Source Entry Utility

CALL GO

executes a program displays a menu

August 29, 2006

23

Вам также может понравиться