Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 10326
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: 10326
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 IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us