Download Accessing the iSeries

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
Accessing the iSeries
and Some Commands
August 29, 2006
1
Accessing the iSeries
August 29, 2006
2
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
4
iSeries OS/400
Menu screen sections
(shown on next slide)
•
•
•
•
•
header
option list
command line
function keys
F1 - help
August 29, 2006
5
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
6
iSeries OS/400
3 Ways for Issuing Commands
1. menus
2. command line
3. CL program
August 29, 2006
7
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
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
August 29, 2006
10
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
1
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
F3=Exit F4=
F13=How to us
…............................................................................................................
:
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
:
:
:
<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
ENGLISH
CLR
CPY
CRT
DSP
Clear
Copy
Create
Display
DLT
EDT
OPN
RMV
SND
STR
WRK
Delete
Edit
Open
Remove
Send
Start
Work
CALL
executes a
program
displays a menu
GO
August 29, 2006
CL
MODIFIER/
NOUN
ACT
CBL
CICS
CL
JOB
LIB
MBR
NW
OUT
PAS
RPG
S36
SP
USR
ENGLISH
CL
NOUN
ENGLISH
Active
Cobol
CICS
Command
Language
Job
Library
Member
Network
Output
Pascal
RPG
System 36
Spooled
User
D
DFU
E
F
description
Data File Utility
entry
file
JOB
L
LIB
MAP
MNU
MSG
PDM
PGM
Q
SDA
SEU
Job
List
library
map
menu
message
Program development mgr.
program
queue
Screen Design Aid Utility
Source Entry Utility
23