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 problem of ordered sequential files access?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
What is the use of intialize verb?
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
What guidelines should be followed to write a structured cobol prgm?
What is cobol?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
Write a cobol program making use of the redefine clause.
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.
example for sub strings ? and refernce modifications whit output pls
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad