View previous topic :: View next topic
|
Author |
Message |
sudhee_rb
New User
Joined: 29 Mar 2006 Posts: 34
|
|
|
|
Hi
I wanted to add one more parameter to existing parms(parm has alredy reached 72 chrs)
Can anybody pls help me how to (continue in new line) add the new parm(length is 3bytes) to the below parms.
//LOAD0000.SYSTSIN DD *
DSN SYSTEM(DB2T)
RUN PROG(DTXCMDSV) -
PLAN(HIPLAN0) -
PARMS('MA -IF1 I1 -IF2 EMCNPIDT -OF1 O1 -OF2 F2 -OF3 F3 /VX15 I1 –ADE')
END
/* |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
At the top of the page is a link to "IBM Manuals". Among these is the JCL Language Reference. Search that manual for info on PARM. There is both an explanation of what you want to do and at least one example.
If you find something in the manual that is not clear, post what you found and your doubt about it. Someone will be able to clarify. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
A bit of an update. . .
I mis-read the original question
Quote: |
PARMS(parameter-string)
parameter-string is a list of parameters that are to be passed to your application program. Separate items in the list with commas, blanks, or both, and enclose the list between apostrophes. If the list contains apostrophes, represent each apostrophe by using two consecutive apostrophes. The list is passed as a varying-length character string of 1- to 100-decimal characters. |
Another question came my way and when i heard the new question, i remembered this topic. |
|
Back to top |
|
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
|
|
As I don't know the answer, I ran a small job of mine:
Code: |
Input1:
//SYSTSIN DD *
DSN SYSTEM(DB2T)
RUN PROGRAM(MARSO002) PLAN(TRBATCH) PARMS('JU' -
'LIAN')
END
/*
Output1:
RUN PROGRAM(MARSO002) PLAN(TRBATCH) PARMS('JU' 'LIAN')
IKJ56716I EXTRANEOUS INFORMATION WAS IGNORED: 'LIAN'
** MARSO002 ** INVALID PARM=JU |
Doesn't work. Let's try again:
Code: |
Input2:
//SYSTSIN DD *
DSN SYSTEM(DB2T)
RUN PROGRAM(MARSO002) PLAN(TRBATCH) PARMS('JU-
LIAN')
END
/*
Output2:
RUN PROGRAM(MARSO002) PLAN(TRBATCH) PARMS('JU LIAN')
** MARSO002 ** INVALID PARM=JU LIAN |
Much better, but not yet. Need only to try now:
Code: |
Input3:
//SYSTSIN DD *
DSN SYSTEM(DB2T)
RUN PROGRAM(MARSO002) PLAN(TRBATCH) PARMS('JU-
LIAN')
END
/*
Output3:
RUN PROGRAM(MARSO002) PLAN(TRBATCH) PARMS('JULIAN')
INPUT DATE.....: 1060517
OUTPUT DATE....: 0002006137 |
It worked!
Now it's your turn to collect the rules for continuation of PARMS line... |
|
Back to top |
|
|
|