i want to avoid the positional parameter how to code it ?
Answers were Sorted based on User's Feedback
Answer / venkat
without specifying the value put a comma(,).
Ex:
//job00001 job ,,notify=&sysuid
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / nikita kekre
To avoid positional parameters,mark their presence with the
help of comma.
eg in Jobcard if i dnt wanna code accounting info and
programmer's name(both r positional parameters thn i cn
simple use commas)
//t12344J JOB ,,CLASS=A,MSGCLASS=A,NOTIFY=&SYSUID
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / pratim dasgupta
if only keyword parameters are coded! no need to give comma
even. if even one positional parameter is coded then comma
is necessary!!
| Is This Answer Correct ? | 3 Yes | 0 No |
I have 5 steps in my jcl ,I need to execute first three steps and then 2nd step again ,4th and 5th steps if rc of 2nd step is zero
If a job has 3 steps and step 1 and step 3 should get executed and step 2 should not get executed irrespective of the return code from the previous steps. How can it be done?
How to test thru JCL if any file(PS or VSAM) is empty or not. I do not want to use any COBOL prog or Ezytrieve and want to do using utility.
i have a jcl in which 4 & 5 step creates a new generation. 4th step output is as input for the 6th step & 5th step output is used as input in the 7th step. How they are refered as in the 6th & 7th steps? If the job abends in 6th step then how the 5th step output is refered in 7th step?
consider the following progrm statements MOVE 0 TO SW.NO.OF.REC PERFORM PRI-OUT UNTIL SW=1 DISPALY NO.OF.REC STOP RUN PRE-OUT READ IN-FILE AT END MOVE 1 TO SW WRITE OUO-REC FROM IN-REC ADD 1 TO NO.OF REC if the IN-FILE contains 1000 records what value will be displayed after the PERFORM is over? assume that N0.OF.REC has PIC 9(4) a.1000 b.1001 c.1 d.none of the above
with out sorting how to copy records from one file to another file using jcl.Mean I have one input file in which the record are like 1,6,5,4,2,3(for example) and i want to copy to output file from top to bottom(without sorting) like 3,2,4,5,6,1.so I want the JCL for this.cna any one can answers?
Explain about LMOPEN -
what is instream data
Explain the function of //jcllib statement?
As PARM can supply information to a program ? Can PARM be used to supply information to a cataloged or Inline Procedure also ?
How many types we can give input to JCL
What is one line to pass PARM from JCL to COBOL?