Thursday, February 17, 2011

naming scheme of i5/OS commands

This post is a citation from http://www.mcpressonline.com. I like it because this tip helps me to remember command set from i5/OS. I cite it to my blog here as I think this place is better than my Web browser bookmark.
  1. First, a three-letter abbreviation for a verb, such as create, remove, print, or send. See the table below.
  2. Last, a series of abbreviations for modifiers, such as file, program, job queue, or user profile. These abbreviations are usually three letters long, but there are many exceptions.



Example Abbreviations
Verbs
Modifiers
CRT
Create
F
File
CHG
Change
PF
Physical File
DLT
Delete
LF
Logical File
ADD
Add
SRCF
Source File
RMV
Remove
CLPGM
CL Program
DSP
Display
RPGPGM
RPG Program
WRK
Work with
MSGQ
Message Queue
STR
Start
OUTQ
Output Queue
END
End
JOBQ
Job Queue


DTAQ
Data Queue


DTAARA
Data Area


SBS
Subsystem


For example,
DSPSBSD SBSD(QUSRWRK) => DSP+SBS+D(display)
STRSQL  =>  STR + SQL 
WRKJVMJOB  =>  WRK + JVM  + JOB
CRTDTAQ  => CRT  +  DTAQ
DSPMSGD CPEnnnn (where NNNN is 4-digit error number)
CHGATR OBJ(Sth) ATR(*READONLY) VALUE(*NO)
WRKLNK 'your/file'

The full article is here

No comments:

Post a Comment