home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hall of Fame
/
HallofFameCDROM.cdr
/
3x400
/
qryf.lzh
/
QRYF.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1987-09-04
|
2KB
|
32 lines
/*PARMS PGM(QRYF.QGPL) */
CMD PROMPT('Query File')
PARM KWD(FILE) TYPE(QUAL1) MIN(1) PROMPT('File +
name')
PARM KWD(FORMAT) TYPE(*NAME) LEN(10) MIN(1) +
PROMPT('Record Format')
PARM KWD(TITLE) TYPE(*CHAR) LEN(32) MIN(1) +
EXPR(*YES) PROMPT('Report Title')
PARM KWD(FIELDS) TYPE(FLDLST) MIN(1) MAX(10) +
PROMPT('Fields to List')
PARM KWD(MEMBER) TYPE(*CHAR) LEN(10) DFT(*FIRST) +
SPCVAL((*FIRST) (*OPNQRYF)) MIN(0) +
PROMPT('Member name')
QUAL1: QUAL TYPE(*NAME) LEN(10) MIN(1)
QUAL TYPE(*CHAR) LEN(10) DFT(*LIBL) +
PROMPT('Library')
FLDLST: ELEM TYPE(*NAME) LEN(10) MIN(1) PROMPT('Name')
ELEM TYPE(*CHAR) LEN(1) RSTD(*YES) DFT(*LIST) +
VALUES(L S 1 2 3 4 5 6 7 8 9) SPCVAL((*LIST +
L) (*SUM S) (*SBT1 1) (*SBT2 2) (*SBT3 3) +
(*SBT4 4) (*SBT5 5) (*SBT6 6) (*SBT7 7) +
(*SBT8 8) (*SBT9 9)) PROMPT('Use')
ELEM TYPE(*CHAR) LEN(1) RSTD(*YES) DFT(*DFT) +
VALUES(1 2 3 4 A B C D J K L M X Y Z) +
SPCVAL((*DFT *)) PROMPT('Edit Code')
ELEM TYPE(*CHAR) LEN(1) RSTD(*YES) DFT(*DFT) +
VALUES(1 2 3 4 5 6 7 8 9 0) SPCVAL((*DFT +
*)) PROMPT('Space before field')
ELEM TYPE(*CHAR) LEN(10) DFT(*DFT) SPCVAL((*BLANK +
' ')) SNGVAL((*DFT)) MAX(3) PROMPT('Field +
Title')