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
What is the difference between PIC 9.99 and 9v99 in COBOL?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
What is the use of intialize verb?
What is the difference between Global and External Variables?
How do you define a variable of comp-1 and comp-2?
What are literals?
What are the pertinent COBOL commands?
Write down the divisions of cobol program?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
Are you comfortable in cobol or jcl?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
What is the difference between external and global variables in COBOL?
What type of SDLC u followed? Why?
) How do u handle errors in BMS macro?