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 |
What is the contrast between delimited by space and delimited by size?
how would find total records in files using sequential?
Explain database descriptor in brief?
who will provide realtime projects for me on mainframe banking Or health care domain on bangalore."it's urgent for me" pls send uregent reply
what is difference between file-aid tool and file-aid utility?
If a ceo wants to see all employees of the company from an online screen. How will be the design of the map from the developer point of view?
How many types of evaluate statements are available?
what is the role of the is numeric clause?
Please any one can tell me,What are the tools for pl/1 project in real time scenario?(what are the version control,debugging and files related tools)?
which of the following is not true about search verb A) every search stmt must contain the AT END clause B) any no of WHEN clause can be used with this verb C) this verb can only applied to a table which is defined with the OCCURS clause and INDEXED phases. D) WHEN condition is satisfied
Define clustered index?
Is it possible to move an alphanumeric incentive to a numeric field?