Answer Posted / pradeep
Jerin Jose,
The Question does not say that the instream data is passed
thru an Instream Proc. If only Instream proc is used, SYSIN
is not possible and the data can only be passed thru' a
PARM in the step. But, if Cataloged Prod is used, then the
SYSIN can be very much used to pass a Instream data.
Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?
Explain the function of dd name parameter with a 2 part structure; audit.report?
What are some jcl statements that are not allowed in procedures?
How to execute 2nd and 4th steps among 5 steps in jcl proc?
Is it possible to left uncode disp?
How to do automated restart when a job abend?
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
Is automatic restart possible in jcl?
how do you code a null statement?
What are the parameter we cannot use in procedure?
Mention the types of job control statements?
what is a jcl?
WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99 VALUE 123.45. PROCEDURE DIVISION. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. compiler : IGYGR1080-S A "VALUE" clause literal was not compatible with the data category o subject data item. The "VALUE" clause was discarded. WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99. PROCEDURE DIVISION. MOVE 123.45 TO W-B. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. 2375
Explain about LMQUERY�give a dialog information about a data set
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.