-
Notifications
You must be signed in to change notification settings - Fork 19
/
QSHPYRUN.CMD
92 lines (92 loc) · 5.49 KB
/
QSHPYRUN.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
83
84
85
86
87
88
89
90
91
92
CMD PROMPT('Run Python Script via Qshell')
PARM KWD(SCRIPTDIR) TYPE(*CHAR) LEN(255) MIN(1) +
EXPR(*YES) CASE(*MIXED) PROMPT('Python +
script directory')
PARM KWD(SCRIPTFILE) TYPE(*CHAR) LEN(255) MIN(1) +
EXPR(*YES) CASE(*MIXED) PROMPT('Python +
script file name')
PARM KWD(ARGS) TYPE(*CHAR) LEN(200) RSTD(*NO) +
MAX(40) EXPR(*YES) CASE(*MIXED) +
INLPMTLEN(32) PROMPT('Python command line +
arguments')
PARM KWD(PYVERSION) TYPE(*CHAR) LEN(5) RSTD(*NO) +
DFT(3) SPCVAL((2 2) (2.7 2.7) (3 3) (3.6 +
3.6) (3.9 3.9)) CASE(*MIXED) +
PROMPT('Python version')
PARM KWD(PYPATH) TYPE(*CHAR) LEN(255) +
DFT(*DEFAULT) +
SPCVAL(('/QOpenSys/pkgs/bin' +
'/QOpenSys/pkgs/bin') (*DEFAULT +
*DEFAULT)) EXPR(*YES) CASE(*MIXED) +
PROMPT('Python 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(USEVENV) TYPE(*CHAR) LEN(4) RSTD(*YES) +
DFT(*NO) VALUES(*NO *YES) EXPR(*YES) +
CASE(*MIXED) PROMPT('Use virtual +
environment')
PARM KWD(VENVPATH) TYPE(*CHAR) LEN(255) DFT('') +
PROMPT('Virtual environment base 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('Print +
standard output result')
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(QSHPYRUN) 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')