Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How do you set a return code to the JCL from a COBOL
program?

Answers were Sorted based on User's Feedback



How do you set a return code to the JCL from a COBOL program?..

Answer / suresh

Move a value to RETURN-CODE register. RETURN-CODE should
not be declared in your program.

MOVE 4 TO RETURN-CODE

Is This Answer Correct ?    34 Yes 4 No

How do you set a return code to the JCL from a COBOL program?..

Answer / sudheer kumar

in you cobol program you have to code
move 8 to return-code


from jcl we have to check
if re=8
step12 exec pgm=progname
else
step13 exec pgm=progname3
end-if.

Is This Answer Correct ?    14 Yes 2 No

How do you set a return code to the JCL from a COBOL program?..

Answer / bodasureshreddy

you have to passes the returncode from cobol to jcl

Is This Answer Correct ?    11 Yes 4 No

How do you set a return code to the JCL from a COBOL program?..

Answer / 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

More COBOL Interview Questions

what is the coding difference between COBOL and CICS.

8 Answers   Cap Gemini,


How do you reference the fixed block file formats from cobol programs

0 Answers  


How to pass return codes from cobol to jcl?

5 Answers  


Define static linking and dynamic linking.

0 Answers  


which certifications r 4 cobol,jcl,db2,cics what is format of xam n what is importance of these certifications... plz post answer only if u r sure... thanks

1 Answers  


what are the control characters used in reports

1 Answers  


what is the minimum number of lines a Cobol program should have to successfully compile and run

11 Answers   ABC, Societe Generale,


if someone is using my file,how can i find which user id is using?

4 Answers  


i want to enter the name 'pandu' into ur table how?

1 Answers   Fidelity,


Write a program that uses move corresponding.

0 Answers  


In the JCL, how do you define the files referred to in a subroutine ?

2 Answers  


What is the use of intialize verb?

0 Answers  


Categories