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: 10456
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: 10456
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 3270 Data stream error Benchwarmer CICS 4 Tue Apr 17, 2018 12:06 am
No new posts VSAM file NOT Found error while proce... SumaReva CICS 5 Wed Apr 11, 2018 9:54 pm
No new posts batch cobol/db2 paragraph fall thru a... alois eisshofer COBOL Programming 5 Wed Mar 14, 2018 12:21 am
No new posts OLDS frozen in BACKOUT status when On... lind sh IMS DB/DC 3 Tue Feb 13, 2018 7:12 pm
No new posts IMS error U4038 while executing my PL... abdulrafi IMS DB/DC 2 Thu Feb 08, 2018 1:05 pm

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