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

Error tracing with running some macros in batch


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
charanmsrit

New User


Joined: 25 Oct 2007
Posts: 81
Location: Australia

PostPosted: Wed Apr 16, 2008 11:35 am
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Apr 16, 2008 11:53 am
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: 81
Location: Australia

PostPosted: Wed Apr 16, 2008 1:42 pm
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Apr 16, 2008 2:32 pm
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: 2358
Location: Israel

PostPosted: Wed Apr 16, 2008 3:24 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts How to get a stack trace on a looping... ABENDS & Debugging 5
Search our Forums:

Back to Top