IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How will you know whether your program run successfully


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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: 677
Location: NJ

PostPosted: Wed Dec 21, 2005 10:54 am
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts EZT program to build a flat file with... All Other Mainframe Topics 9
Search our Forums:

Back to Top