Answer Posted / 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 |
Post New Answer View All Answers
I would like to know some real time questions.. please any one help me.. If the changes made by you .. lead to system inconsistency how others will know its cause???
If JOBA is in MSGW due to data decimal error and DUMP is generated and I found that Decimal field formatted with some special char which is coming from Input file amd file has millions of records. How I can find out on which record the error is occur. Please share your experience.....
Hello, I have 3 years of exp as a mainframes tester in a leading IT company, now am looking to change my company. Could you please let me know, what are the interview questions/topics i should prepare. Your suggestions are truly valuable for me :) Thanks !!
What is the importance of common attribute?
Name the versions of ibm mainframes have introduced in the market?
Can you explain create an empty file by using sort?
Can we give +2 instead of +1 while creating a new gdg file?
What is the use of base and index registers in the IBM 360/370 processor?
What is the function of iebgener?
Name and explain the type of locks?
PLEASE SEND ME THE DOCUMENTS IF ANY ONE HAVE REGARDING THE IMPACT ANALYSYS,REVIEWS
What is mainframe application testing?
How to compare two files by using sort?
Explain lock contention?
does anybody know about niit technologies ? how is that company ? any body working in that company ? please answer my question.I got selected in NIIT Technologies delhi.