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
 

 

IMS Call GN in PLI program

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

New User


Joined: 03 May 2007
Posts: 1
Location: CHENNAI

PostPosted: Thu Jun 07, 2007 9:21 pm    Post subject: IMS Call GN in PLI program
Reply with quote

Hi,
I am using a IMS call GN in my PLI program

DO WHILE (STATUS_FRTXT ^= 'GE');
CALL PLITDLI (3,
FUNC_GN,
OMFRTXDB_PTR,
OMFRTXDB_DB);
END;

I am getting a error message of U4036, while running the program. Please any one can tell me is it the problem with my segment pointer, and how can i solve it.

Thanks
Deepthy
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Jun 07, 2007 11:34 pm    Post subject:
Reply with quote

Hello and welcome to the forums,

Your topic was entered in the Job Vacancies area, so i moved it to IMS.

Please advise if this is not what you wanted.
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1105
Location: The Netherlands at Hole 19

PostPosted: Wed Jun 13, 2007 2:52 pm    Post subject:
Reply with quote

Don't know how your parameters and psb are defined. Are they:



    count
    function
    pcb
    (ssa is omitted while you want a complete hierarchical sequential get)
    io-area?
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1105
Location: The Netherlands at Hole 19

PostPosted: Wed Jun 13, 2007 3:02 pm    Post subject:
Reply with quote

furthermore.........check your spy. In this link read the trap-part.
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Thu Jun 14, 2007 3:31 am    Post subject: Re: IMS Call GN in PLI program
Reply with quote

Where is your check for "GB" (end of database)? If you use a GN without an SSA, you will read every segment in the database. I do not know PL1,
but if you want to count ONLY certain segments, use a GN for only that segment. If you are reading thru the database and do not check for "GB", you will keep going and going and going - just like the energizer bunny. icon_lol.gif
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 SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm
No new posts I can not compile my program PL1 V3.R... Miguel Fernandez PL/I & Assembler 13 Tue Dec 06, 2016 8:30 pm
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm


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