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 is the difference between COBOL2 AND COBOL390?

2438


Write the code implementing the perform … varying.

635


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

17012


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)?

619


What are the different data types in cobol?

777






What is the local-storage section?

668


What are declaratives and what are their uses in cobol?

698


What is comp-1 and comp-2?

753


Which is not true about evaluate statement

1560


if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.

5652


How you can read the file from bottom?

652


i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

1757


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

2532


What are various search techniques in cobol? Explain.

637


How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?

687