How can we pass data from cobol to JCl?

Answer Posted / anil prajapati

we can pass data from cobol to jcl by using return-code
like
move 450 to return-code
if we are passing data likeit then at run time the maxx
return code will be this code if move code is a negative
number then after subtracting from 4096 maximum return code
will be displayed

Is This Answer Correct ?    19 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What the difference is between continue and next sentence?

660


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?

1230


How do we get current date from system with century in COBOL?

805


What is the problem of ordered sequential files access?

702


How you can read the file from bottom?

660






What is the default value(s) for an initialize? What keyword will allow for an override of the default?

661


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

634


how can i see junk values in dclgen or in hostvariable of comp ?

2544


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

780


What is the default value(s) for an initialize and what keyword allows for an override of the default?

697


How to use the same COBOL program in Batch and CICS on lines? explain with an example

1914


What are the different rules of SORT operation?

698


What is the difference between next sentence and continue in cobol programing language?

712


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

704


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

689