As PARM can supply information to a program ? Can PARM be
used to supply information to a cataloged or Inline
Procedure also ?
Answers were Sorted based on User's Feedback
Answer / prachi
PARM is basically used to send the values to cobol program
So i guess in both the cases for instream as well as for
catalog procedure ...we can use PARM parameter..
Correct me if i am wrong..
| Is This Answer Correct ? | 1 Yes | 2 No |
//mystep EXEC PGM=myprog,PARM='myparameters'
myparameters can content any data as your program need.
There is no way to use PARM with instream or cataloged
procedures.
| Is This Answer Correct ? | 0 Yes | 1 No |
What does IEBGENER do?
When space is allocated for an output dataset, what units can be used?
A statement about PROCs is " In PROCs, Symbolic Parameters can be assigned on PROC and EXEC", BUT On which EXEC, (i) On the JCL's EXEC which is calling to PROC1. (Inside JCL, EXEC PROC1) (ii) or On the PROC's EXEC where it calls the PGM1. (Inside PROC, EXEC PGM=PGM1)
If i am going to change some variable in a copybook( size or variable type) ,what are the changes that need to be done in the corresponding JCL.
using cursor how can you fetch more than one record into a variable
what is the purpose of coding notify parameter in job statement?
Can comments be specified at the very beginning of a jobcard? Will the JCL execute?
How to pass values in jcl to cobol?
How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you
What are the parameter in the job card wihtout which job won't run........
WORKING-STORAGE SECTION. 01 GROSS-PAY. 05 BASIC-PAY PIC 9(5). 05 ALLOWENCES PIC 9(3). PROCEDURE DIVISION. MOVE 1000 TO BASIC-PAY. MOVE 250 TO ALLOWENCES. DISPLAY GROSS-PAY. STOP RUN. 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move
Current version of GDG is ID.GDG.FILE.G0001V00. JCL has procedure with 2 steps like below, What will be the output file name in each step ? PROC starts Step 1 has ID.GDG.FILE(+1) Step2 has ID.GDG.FILE(+4) PEND Similarly, JCL has 2 steps in 2 separate procedure. What will be the output file names here ? PROC starts Step 1 has ID.GDG.FILE(+1) PEND PROC1 starts Step2 has ID.GDG.FILE(+4) PEND