-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
286f895
commit 7eb657b
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
CMD PROMPT('SQL Query Src to Temp Table') | ||
PARM KWD(SRCFILE) TYPE(QUAL1) MIN(1) MAX(1) + | ||
PROMPT('SQL source file' 2) | ||
PARM KWD(SRCMBR) TYPE(*CHAR) LEN(10) MIN(1) + | ||
EXPR(*YES) CASE(*MONO) PROMPT('Source + | ||
member' 3) | ||
PARM KWD(IFSFILE) TYPE(*CHAR) LEN(255) DFT(*NONE) + | ||
SPCVAL((*NONE ' ')) MAX(1) PROMPT('SQL + | ||
IFS source file' 4) | ||
PARM KWD(OUTFILE) TYPE(QUAL2) MIN(0) MAX(1) + | ||
PROMPT('Temp file to receive results' 5) | ||
PARM KWD(EMPTYERROR) TYPE(*CHAR) LEN(4) + | ||
RSTD(*YES) DFT(*YES) VALUES(*NO *YES) + | ||
MIN(0) MAX(1) PROMPT('Escape error if no + | ||
result data' 6) | ||
PARM KWD(PROMPT) TYPE(*CHAR) LEN(4) RSTD(*YES) + | ||
DFT(*NO) VALUES(*NO *YES) MIN(0) MAX(1) + | ||
PROMPT('Prompt RUNSQL' 7) | ||
PARM KWD(DLTTMPSRC) TYPE(*CHAR) LEN(4) RSTD(*YES) + | ||
DFT(*YES) VALUES(*NO *YES) MIN(0) MAX(1) + | ||
PROMPT('Delete temp source file after' 7) | ||
PARM KWD(SQLLOC) TYPE(*CHAR) LEN(10) RSTD(*YES) + | ||
DFT(*SRCMBR) VALUES(*SRCMBR *IFSFILE) + | ||
MIN(0) MAX(1) PROMPT('SQL source from + | ||
location type' 1) | ||
QUAL2: QUAL TYPE(*NAME) LEN(10) DFT(SQLTMP0001) EXPR(*YES) | ||
QUAL TYPE(*NAME) LEN(10) DFT(QTEMP) EXPR(*YES) + | ||
PROMPT('Library') | ||
QUAL1: QUAL TYPE(*NAME) LEN(10) MIN(1) EXPR(*YES) | ||
QUAL TYPE(*NAME) LEN(10) DFT(*LIBL) SPCVAL((*LIBL + | ||
*LIBL)) EXPR(*YES) PROMPT('Library') |