Accessing the iSeries and Some Commands
description
Transcript of Accessing the iSeries and Some Commands
January 31, 2011 1
Accessing the iSeriesand Some Commands
January 31, 2011 2
Accessing the iSeries
January 31, 2011 3
iSeries Sign-On Screen
Sign On System . : S101450F Subsystem : QBASE Display . : QPADEV0002
User . . . . . . . . . . . . . . Password . . . . . . . . . . . . Program/procedure . . . . . . . . Menu . . . . . . . . . . . . . . Current library . . . . . . . . .
January 31, 2011 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.
January 31, 2011 5
iSeries OS/400 Menu screen sections
(shown on next slide)• header• option list• command line• function keys• F1 - help
January 31, 2011 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>
January 31, 2011 7
iSeries OS/400
3 Ways for Issuing Commands1. menus2. command line3. CL program
January 31, 2011 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
January 31, 2011 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
January 31, 2011 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
January 31, 2011 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
January 31, 2011 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
January 31, 2011 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=CancelLIST SCREEN
January 31, 2011 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
January 31, 2011 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
January 31, 2011 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
January 31, 2011 17
iSeries Sreen Types
• menu• entry• list• information
January 31, 2011 18
OS/400 – Context Sensitive HelpCreate 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>
January 31, 2011 19
OS/400 – Context Sensitive HelpCreate 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>
January 31, 2011 20
iSeries OS/400 Review Four Screen Types• menu• entry• list• information
January 31, 2011 21
iSeries OS/400 Review
Three Ways to Invoke Commands• menus• command line• CL program
January 31, 2011 22
Command Language Names
• CL = Command Language• CL commands consist of
1. Verb + Noun, or2. Verb + Modifier(s) + Noun
For example,WRKF = Work with FileCRTSRCPF = Create Source Physical File
January 31, 2011 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