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

Answers were Sorted based on User's Feedback



1)what is compilation jcl for cobol program but it is calling another program 2)what is compilation..

Answer / 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

1)what is compilation jcl for cobol program but it is calling another program 2)what is compilation..

Answer / chandrababu naidu

first precompile, compile, linked and bind the subprogram
i.e.,subprogram put into loadlib. later on compile and linked
and run the main program.

Is This Answer Correct ?    0 Yes 0 No

1)what is compilation jcl for cobol program but it is calling another program 2)what is compilation..

Answer / mohan.chepuri

1) no it is not calling the another pgm,it wil compile
current pgm
2)no

Is This Answer Correct ?    0 Yes 0 No

1)what is compilation jcl for cobol program but it is calling another program 2)what is compilation..

Answer / mohan.chepuri

1) no it is not calling the another pgm,it wil compile
current pgm
2)no

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JCL Interview Questions

can u execute a proc from another proc?

5 Answers   Logica CMG,


List in order the hierarchical levels of jcl?

0 Answers  


Explain about LMCOPY -

1 Answers  


what is instream data

2 Answers   EDS,


What is the difference between run mode and addressing mode?

0 Answers  






We are aware of eliminating the duplicate records from outyput fiel using sort utility. Can we get the duplicate records in to another file in the Same sort utility?

2 Answers  


Which statement is used to identify the private libraries in job?

0 Answers  


Please go thru the below points and let me know how to code this. 1. Sort the input dataset for the condition : Starting position is 37,length of the field is 13 based on character and in the ascending order , starting from position 25 length of 12 ,character and in the ascending order. Use a temporary dataset to hold the sorted file. 2. Use the temporary file created in the above step as the input for the next step. The next step is to execute a program and produce an output file. Use the temporary file created in the above as work file 1 and the output of the file to be created in this step work file 2.Also, pass a parameter to the program that is to be executed in this step. The parameter should have the current date in YYYYMMDD format. For the sake of convenience, you can use the below Job Name : Sample1 Input DSN : PCABDT11.CABD.TEST.INPUT Temporary DSN : Sort1 Output DSN : PCABDT11.CABD.TEST.OUTPUT Program Name : SAMPLE Thanks in Advance for your response.

2 Answers  


What do you understand by the terms: joblib and steplib?

0 Answers  


How to check empty file in jcl?

4 Answers   Infosys,


I've one sequential file, that file size is LREC=100 (File contain Records like 1 to 100). Now I was increase the file size is LREC=102. My question is I want insert 00 (Two Zeros) in to the new file (That output file looks like : 00123 up to 100). How will write the SORT card in JCL. Please let me know.

2 Answers   Syntel,


how to do automated restart when a job abends?

0 Answers   IBM,


Categories