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

how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)

1897


Are you comfortable in cobol or jcl?

612


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

2686


How many sections are there in data division in COBOL?

654


1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?

5323






What are declaratives and what are their uses in cobol?

673


i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

868


Can we change the password using ALTER? anyone tried and changed?

1518


How do you differentiate between cobol and cobol-ii?

628


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

381


How you can read the file from bottom?

640


Why would you use find and get rather than to obtain?

653


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?

1206


What are the various section in data division and briefly explain them.

667


Differentiate between structured cobol programming and object-oriented cobol programming.

644