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
 

 

Where I can see the status code returned

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
View previous topic :: :: View next topic  
Author Message
udaysinghsolanki

New User


Joined: 17 Aug 2006
Posts: 2

PostPosted: Sat Aug 19, 2006 4:06 pm    Post subject: Where I can see the status code returned
Reply with quote

hi guys,
could anybody tell me where i can see the status code returned,when a CBLTdlI call is made to retrieve a particular segment.
Back to top
View user's profile Send private message

phetu

New User


Joined: 19 Aug 2006
Posts: 13
Location: Canada

PostPosted: Sat Aug 19, 2006 4:38 pm    Post subject:
Reply with quote

The status code is returned in the PCB's copybook that you supply with the CBLTDLI call.

Patrick
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1187
Location: Bangalore,India

PostPosted: Wed Aug 23, 2006 10:02 am    Post subject:
Reply with quote

Hi Udai,

Code:
CALL 'CBLTDLI' USING GU-FUNC                   
                     RENEWALS-PCB             
                     POLICY-TRANSACTION-SEGMENT
                     SSA-PTRANSEG-QUAL.

EVALUATE STATUS-CODE OF RENEWALS-PCB                         
    WHEN SPACES                                             
         Continue
    WHEN OTHER                                               
         Raise an error
END-EVALUATE.
We are making a GU call to policy transaction segment using renewal- pcb as pcb-mask so we are checking the status code of renewal pcb to check whether call is successful or not.
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 -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Testing rerad cursor for status with ... John F Dutcher DB2 8 Fri May 19, 2017 9:35 pm
No new posts Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm
No new posts JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm


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