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
 

 

Error tracing with running some macros in batch

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
charanmsrit

New User


Joined: 25 Oct 2007
Posts: 80
Location: Australia

PostPosted: Wed Apr 16, 2008 11:35 am    Post subject: Error tracing with running some macros in batch
Reply with quote

Hi, I am running some macros in batch. it was working fine. now one is not working in this particular case as shown below. apart from this all other macros are fine. in trace log, i can only see +++ RC(4). can someone please advise how do i get error explanation ??

Code:
   8 *-* "ISREDIT CHANGE ALL "SONLRGN" "DONLRGN""                             
     >L>   "ISREDIT CHANGE ALL "                                             
     >V>   "CITDB2T"                                                         
     >O>   "ISREDIT CHANGE ALL CITDB2T"                                       
     >L>   " "                                                               
     >O>   "ISREDIT CHANGE ALL CITDB2T "                                     
     >V>   "CIQFIIS"                                                         
     >O>   "ISREDIT CHANGE ALL CITDB2T CIQFIIS"                               
     >L>   ""                                                                 
     >O>   "ISREDIT CHANGE ALL CITDB2T CIQFIIS"                               
     +++ RC(4) +++                                                           
   9 *-* "ISREDIT CHANGE ALL "SEDLIB" "DEDLIB""                               
     >L>   "ISREDIT CHANGE ALL "                                             
     >V>   "TESTCIAD"                                                         
     >O>   "ISREDIT CHANGE ALL TESTCIAD"                                     
     >L>   " "                                                               
     >O>   "ISREDIT CHANGE ALL TESTCIAD "                                     
     >V>   "TESTCIAC"                                                         
     >O>   "ISREDIT CHANGE ALL TESTCIAD TESTCIAC"                             
     >L>   ""                                                                 
     >O>   "ISREDIT CHANGE ALL TESTCIAD TESTCIAC"                             
  10 *-* "ISREDIT CHANGE ALL "SREGN" "DREGN""                                 
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10211
Location: italy

PostPosted: Wed Apr 16, 2008 11:53 am    Post subject: Reply to: error tracing
Reply with quote

Quote:
can someone please advise how do i get error explanation ??

You can get the error explanation by reading the proper manual


as my signature says I have it open in another tab of my browser and the explanation is there
Back to top
View user's profile Send private message
charanmsrit

New User


Joined: 25 Oct 2007
Posts: 80
Location: Australia

PostPosted: Wed Apr 16, 2008 1:42 pm    Post subject:
Reply with quote

Hi, is it not possible to have it diplayed in log ??
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10211
Location: italy

PostPosted: Wed Apr 16, 2008 2:32 pm    Post subject: Reply to: Error tracing with running some macros in batch
Reply with quote

Yes, if You intercept the error by testing the return code

Code:
if rc <> 0 then do
.....
end
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Wed Apr 16, 2008 3:24 pm    Post subject:
Reply with quote

In batch, you can add the keywords TEST and/or TRACE to your ISPSTART command.

O.
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 -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm
No new posts Invoke Webservice Fails with DFHPI100... divated CICS 2 Thu Nov 24, 2016 5:57 pm
This topic is locked: you cannot edit posts or make replies. MIPS reduction for Batch job Virendra Shambharkar All Other Mainframe Topics 8 Mon Nov 07, 2016 4:02 pm


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