Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How will you know whether your program run successfully

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
rdveera

New User


Joined: 13 Nov 2003
Posts: 1
Location: chennai

PostPosted: Wed Dec 21, 2005 3:05 am    Post subject: How will you know whether your program run successfully
Reply with quote

you have compiled a cobol program using jcl and unfortunately delete the o/p. How will you know whether your program run successfully or not.?
Back to top
View user's profile Send private message

khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 680
Location: NJ

PostPosted: Wed Dec 21, 2005 10:54 am    Post subject: doubt
Reply with quote

Hi Veera,

Quote:
unfortunately delete the o/p


I can't get u in this sentence...

Quote:
How will you know whether your program run successfully or not.?

U can go to the spool area and view the o/p return code of the JCL and the COBOL code.
Back to top
View user's profile Send private message
The Legend

New User


Joined: 24 Dec 2005
Posts: 3
Location: Chennai

PostPosted: Tue Jan 03, 2006 11:02 pm    Post subject: Hi,
Reply with quote

You are saying that you
Quote:
unfortunately delete the o/p

means you purged the job in the spool???

If you mean that then you can't view the return code for your program. You have to recompile the program again and then view the return code.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Fri Jan 06, 2006 5:29 am    Post subject:
Reply with quote

If you compiled AND linked the pgm use ISPF to look in your loadlib at the member. It should contain the date and time of the last successful link.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm
No new posts I can not compile my program PL1 V3.R... Miguel Fernandez PL/I & Assembler 13 Tue Dec 06, 2016 8:30 pm
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us