-
Notifications
You must be signed in to change notification settings - Fork 19
/
QSHPHPRUN.CMD
82 lines (82 loc) · 4.87 KB
/
QSHPHPRUN.CMD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
CMD PROMPT('Run PHP Script via Qshell')
PARM KWD(SCRIPTDIR) TYPE(*CHAR) LEN(255) MIN(1) +
EXPR(*YES) CASE(*MIXED) PROMPT('PHP +
script directory')
PARM KWD(SCRIPTFILE) TYPE(*CHAR) LEN(255) MIN(1) +
EXPR(*YES) CASE(*MIXED) PROMPT('PHP +
script file name')
PARM KWD(ARGS) TYPE(*CHAR) LEN(200) RSTD(*NO) +
MAX(40) EXPR(*YES) CASE(*MIXED) +
INLPMTLEN(32) PROMPT('PHP command line +
arguments')
PARM KWD(PHPPATH) TYPE(*CHAR) LEN(255) +
DFT(*DEFAULT) +
SPCVAL(('/QOpenSys/pkgs/bin' +
'/QOpenSys/pkgs/bin') (*DEFAULT +
*DEFAULT)) EXPR(*YES) CASE(*MIXED) +
PROMPT('PHP bin path')
PARM KWD(SETPKGPATH) TYPE(*CHAR) LEN(4) +
RSTD(*YES) DFT(*YES) VALUES(*NO *YES) +
EXPR(*YES) CASE(*MIXED) PROMPT('Set +
QOpenSys yum package path')
PARM KWD(DSPSTDOUT) TYPE(*CHAR) LEN(4) RSTD(*YES) +
DFT(*NO) VALUES(*NO *YES) PROMPT('Display +
standard output result')
PARM KWD(LOGSTDOUT) TYPE(*CHAR) LEN(4) RSTD(*YES) +
DFT(*NO) VALUES(*NO *YES) PROMPT('Log +
standard output to job log')
PARM KWD(PRTSTDOUT) TYPE(*CHAR) LEN(4) RSTD(*YES) +
DFT(*NO) VALUES(*NO *YES) PROMPT('Prt +
standard output on errors')
PARM KWD(DLTSTDOUT) TYPE(*CHAR) LEN(4) RSTD(*YES) +
DFT(*YES) VALUES(*NO *YES) PROMPT('Delete +
standard output result')
PARM KWD(IFSSTDOUT) TYPE(*CHAR) LEN(4) RSTD(*YES) +
DFT(*NO) VALUES(*NO *YES) PROMPT('Copy +
std output to IFS file')
PARM KWD(IFSFILE) TYPE(*CHAR) LEN(255) +
PROMPT('IFS file for stdout results')
PARM KWD(IFSOPT) TYPE(*CHAR) LEN(10) RSTD(*YES) +
DFT(*REPLACE) VALUES(*ADD *REPLACE *NONE) +
PROMPT('IFS file option')
PARM KWD(CCSID) TYPE(*CHAR) LEN(10) DFT(37) +
SPCVAL((*SAME *SAME)) PROMPT('Coded +
character set ID for job')
PARM KWD(PRTSPLF) TYPE(*CHAR) LEN(10) +
DFT(QSHPHPRUN) PROMPT('Print stdout spool +
file')
PARM KWD(PRTUSRDTA) TYPE(*CHAR) LEN(10) +
DFT(*NONE) SPCVAL((*NONE ' ')) +
PROMPT('Print stdout user data')
PARM KWD(PRTTXT) TYPE(*CHAR) LEN(30) DFT(*NONE) +
SPCVAL((*NONE ' ')) CASE(*MIXED) +
PROMPT('Print stdout print text')
PARM KWD(PRTHOLD) TYPE(*CHAR) LEN(4) RSTD(*YES) +
DFT(*YES) VALUES(*NO *YES) SPCVAL((*NONE +
' ')) CASE(*MIXED) PROMPT('Print stdout +
hold spool file')
PARM KWD(PRTOUTQ) TYPE(QUAL2) MIN(1) +
PROMPT('Print stdout to outq')
PARM KWD(OUTFILE) TYPE(QUAL3) MIN(1) PROMPT('File +
to receive output')
PARM KWD(MBROPT) TYPE(*CHAR) LEN(10) RSTD(*YES) +
DFT(*REPLACE) VALUES(*ADD *REPLACE) +
PROMPT('Replace or add records')
PARM KWD(PASEJOBNAM) TYPE(*CHAR) LEN(10) +
DFT(*DEFAULT) CASE(*MIXED) PROMPT('PASE +
fork thread job names')
PARM KWD(DEBUGCMD) TYPE(*CHAR) LEN(4) RSTD(*YES) +
DFT(*NO) VALUES(*NO *YES) EXPR(*YES) +
CASE(*MIXED) PROMPT('Debug QSHEXEC command')
PARM KWD(CHGSCRDIR) TYPE(*CHAR) LEN(4) RSTD(*YES) +
DFT(*NO) VALUES(*NO *YES) EXPR(*YES) +
CASE(*MIXED) PROMPT('Change to script +
directory')
QUAL2: QUAL TYPE(*NAME) LEN(10) DFT(*SAME) +
SPCVAL((*SAME)) EXPR(*YES)
QUAL TYPE(*NAME) LEN(10) DFT(*LIBL) +
SPCVAL((*LIBL)) EXPR(*YES) PROMPT('Library')
QUAL3: QUAL TYPE(*NAME) LEN(10) DFT(STDOUTQSH) +
SPCVAL((*SAME)) EXPR(*YES)
QUAL TYPE(*NAME) LEN(10) DFT(QTEMP) +
SPCVAL((*LIBL)) EXPR(*YES) PROMPT('Library')