1)what is compilation jcl for cobol program but it is
calling another program 2)what is compilation jcl for cobol
program but it is calling another program(in this, main
program is pure cobol but sub program is cobol+db2
program.can anyone please answer me for above questions.
it's very urgent
Answer Posted / chandrababu naidu
first precompile the subprogram then compile, linked and then
put into loadlib. later on compile and linked and finally run
the main program.
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
How do you create a temporary dataset?
How to submit jcl through a cobol program?
How can the disposition of sysout datasets be set for an entire jobstream?
what is JCL?
how you can direct the data to spool using SYSOUT option?
Are there any set of rules for the names of the steps used in a job?
What is job control language?
How can an in-stream dataset be terminated?
Explain how can values be passed from the job stream to an executable program?
Name what parameter directs the output of the job log dataset?
what is a jcl?
When space is allocated for an output dataset, what units can be used?
How to do automated restart when a job abend?
How can values be passed from the job stream to an executable program?
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