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


Please Help Members By Posting Answers For Below Questions

I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

1221


How do get the result of your program directly on your pc?

1871


Why did you choose to work with ibm mainframe cobol programming?

623


What is rmode(any) ?

676


What is a scope terminator give example?

650






how do you reference the esds vsam file formats from cobol programs

625


Which Search verb is equivalent to PERFORM…VARYING?

675


How to print 10 to 1 if the input have only 10 digit number?

802


What is an in line perform? When would you use it? Anything else you wish to say about it.

638


Name some of the examples of COBOl 11?

2672


How do you define a variable of comp-1 and comp-2?

691


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17014


What is redefines clause in COBOL?

839


What are different data types in cobol?

677


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

724