Download SELCOPY Manual

Transcript
SELCOPY Manual
Contents
Documentation Notes.........................................................................................................................................................................1
Summary of Changes..........................................................................................................................................................................2
Changes to SELCOPY for Mainframe Platforms....................................................................................................................2
Changes to SELCOPY for iSeries, UNIX and PC Platforms...................................................................................................2
Introduction..........................................................................................................................................................................................5
General Information................................................................................................................................................................5
Mainframe Version..................................................................................................................................................................5
iSeries, UNIX and PC Versions...............................................................................................................................................5
New Computer User................................................................................................................................................................5
Bits and Bytes Explained........................................................................................................................................................6
Hexadecimal Explained...........................................................................................................................................................6
Packed Decimal Explained.....................................................................................................................................................7
Zoned Decimal Explained.......................................................................................................................................................7
New SELCOPY User..............................................................................................................................................................7
Abbreviations and Synonyms..........................................................................................................................................8
Selection..........................................................................................................................................................................8
Multiple Selection.............................................................................................................................................................9
Other Control Statements................................................................................................................................................9
Blocked Files....................................................................................................................................................................9
Mainframe.................................................................................................................................................................9
iSeries, UNIX and PC.............................................................................................................................................10
Selection Summary........................................................................................................................................................10
Work Area......................................................................................................................................................................11
Job Control Language....................................................................................................................................................11
Mainframe Only......................................................................................................................................................12
Your Next Step...............................................................................................................................................................12
Control Statement Syntax Rules......................................................................................................................................................13
Control Statement Syntax Summary...............................................................................................................................................16
Control Statement Syntax Summary Notes..........................................................................................................................21
Operation Words, Parameters and Keywords................................................................................................................................23
! (Default separator character)..............................................................................................................................................23
* (Comment)..........................................................................................................................................................................23
*< (Comment Ignoring Separator).........................................................................................................................................24
*> (Comment in Summary)...................................................................................................................................................24
/* (End of Input Control Statements).....................................................................................................................................24
\ (Control Statement Continuation)........................................................................................................................................24
ABTRAP................................................................................................................................................................................25
ADABAS................................................................................................................................................................................25
ADD=n..................................................................................................................................................................................26
ALL........................................................................................................................................................................................27
AND (Operation Word)..........................................................................................................................................................27
AND=string (Logical Operator)..............................................................................................................................................27
APPEND...............................................................................................................................................................................28
ASA0.....................................................................................................................................................................................29
ASC.......................................................................................................................................................................................29
ASCII.....................................................................................................................................................................................29
ASSGN..................................................................................................................................................................................29
AT=p.....................................................................................................................................................................................29
BANNER...............................................................................................................................................................................29
BASE=xxxx...........................................................................................................................................................................30
BDW......................................................................................................................................................................................30
BLKSIZE=n (for Input)...........................................................................................................................................................30
BLKSIZE=n/SAME/MAX/UNB (for Output)...........................................................................................................................32
BUFNO..................................................................................................................................................................................33
BWD......................................................................................................................................................................................33
Reversing Direction for KSDS........................................................................................................................................33
BY=n.....................................................................................................................................................................................34
CALL modname....................................................................................................................................................................34
CALL (for Mainframe)............................................................................................................................................................34
CALL (for UNIX, Windows and OS/2)...................................................................................................................................36
CANCEL (Operation Word)...................................................................................................................................................38
CANCEL (Parameter)...........................................................................................................................................................38
CAT fname............................................................................................................................................................................38
CAT=catref............................................................................................................................................................................40
CHAR....................................................................................................................................................................................40
CHKP....................................................................................................................................................................................40
CIPHER.................................................................................................................................................................................41
CKPT.....................................................................................................................................................................................41
CLEAR..................................................................................................................................................................................41
CLOSE fname.......................................................................................................................................................................41
CLOSE=disp.........................................................................................................................................................................42
CMS......................................................................................................................................................................................42
2014-08-07 10:16:24
i