How can we pass data from cobol to JCl?
Answer Posted / sri
When someone ask you that question first thing you need to
do is you post a question to him.
Passing data from COBOL to JCL means where in JCL ?
Do you mean a file? File is also a part of JCL. If it is
file then your answer is WRITE the data into the file.
Do you mean a PDS member ? Then WRITE the data or what ever
into the PDS member.
Do you mean SYSOUT ? If so just DISPLAY the value.
If he says not these three then he need to tell what is the
purpose of moving data to JCL ? for you to give an answer.
| Is This Answer Correct ? | 42 Yes | 2 No |
Post New Answer View All Answers
What is the difference between next sentence and continue in cobol programing language?
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
How many sections are there in data division in COBOL?
how do you reference the ksds vsam file formats from cobol programs
Give some examples of command terminators?
What are 77 levels used for?
What are various search techniques in cobol? Explain.
Which is not true about evaluate statement
In COBOL, what is the different between index and subscript?
What is the difference between binary search and sequential search?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
What is comp-1 and comp-2?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.