How do you set a return code to the JCL from a COBOL
program?
Answer Posted / suresh . e
01 RETURN-CODE-OUT PIC S9(09) USAGE COMP.
01 RETURN-CODE-IND PIC S9(04) USAGE COMP. first
declaration is to define the variable for return
code.Second declaration is for defining a Null indicator.
| Is This Answer Correct ? | 0 Yes | 14 No |
Post New Answer View All Answers
What is the difference between comp and comp-3 usage?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
how can i see junk values in dclgen or in hostvariable of comp ?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
What are the different open modes available in cobol?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
How to know whether the module is dynamical or statistical?
Discuss about changing dataset name in proc.
What is link edit in cobol?
How to remove 2 duplicate records and copy only one using job control language?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
What are the different rules for performing sort operation?
Name some of the examples of COBOl 11?
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?
how to move the records from file to array table. give with code example