How do you pass some input from JCL to PL1?
Answers were Sorted based on User's Feedback
Answer / amit krishna
You can pass inputs to a PL/1 Program through a JCL by two ways.
1- Through PARM.
Through this method PARM=parameter keyword is mentioned on the EXEC statement in JCL. The supplied PARM should be received through an argument in MAIN PL/1 program & Further declared accordingly.
//STEP02 EXEC PGM=PL1PGM,
// PARM='20110423'
PL1PGM: PROC(PARM) OPTIONS(MAIN);
2- Through SYSIN
Through this method SYSIN statement followed by the parameter to be placed in the JCL. In the PL/1 program
It is necessary to use a "//SYSIN DD *" statment in the JCL.
//STEP02 EXEC PGM=PL1PGM
|
|
//SYSIN DD *
20110423
/*
OR You can write the input in a file.
//SYSIN DD DISP=SHR,DSN=MY.INPUT.DATASET(INPUT)
| Is This Answer Correct ? | 5 Yes | 1 No |
Differentiate between hdam and the hidam databases?
what is the right time for using in-line perform?
What is the function of iebgener?
How do you use sub-string as a Pseudo-variable in PL/1? How can we use the variables?
Can you name a few software running under the mainframe?
How many minimum number of line codes does PL/1 DB2 program requires?
0 Answers IBM, TelePerformance,
Attended Xansa Interview , Asked Questions : 1) Diff between Renames and Redefines 2) Comp and Comp -3 3) What will happen if DISP = ( NEW, DELETE, KEEP) 4) Gave one scenario like , if PIC clause X(50) has to be increased to X(70) how u will proceed with this change. 5) Diff between Section and Paragraph
what is the meaning, the advantages and which are the types of evaluate statement?
What is the difference between inrec and outrec?
Hi can anybody tell me about Mainframe batch testing and how is it done. I am totally new to mainframe testing. Thanks in Advance.
Write in brief about clusters?
How to compile PL/1 DB2 program? Please provide me details on this process?