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
 

 

Doubt in using command code O

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

New User


Joined: 26 Apr 2010
Posts: 74
Location: India

PostPosted: Tue Jan 13, 2015 3:14 pm    Post subject: Doubt in using command code O
Reply with quote

Hello Team,

I have tried the SSA as follows ; but I am getting AJ status code.

Code:

DLI_FUNC = 'GHU';                                             
DLI_CNT = 5;                                                   
CALL PLITDLI(DLI_CNT,                                         
             DLI_FUNC,                                         
             DBPCB,                                           
             IOAREA,                                           
             'PARENT  (PID     EQP001)',               
             "CHILD   *O('000000F3000000F6'X=798887)");       


Here I want to get a segment in child having the characters '798887' from offset 3 having a length 6. Please advise.
Back to top
View user's profile Send private message

Ed Goodman

Active Member


Joined: 08 Jun 2011
Posts: 556
Location: USA

PostPosted: Wed Jan 14, 2015 3:05 am    Post subject:
Reply with quote

I've never seen Command Code 'O'. I can't find it in my IMS version 11 manual.

Since an 'AJ' means an error in the format of an SSA, that probably means that there is no 'O' status code in the version you are running.

Where did you see command code 'O'?
Back to top
View user's profile Send private message
Appu

New User


Joined: 26 Apr 2010
Posts: 74
Location: India

PostPosted: Wed Jan 14, 2015 10:06 am    Post subject:
Reply with quote

Hello ,

Here is the link :

http://www-01.ibm.com/support/knowledgecenter/#!/SSEPH2_13.1.0/com.ibm.ims13.doc.apr/ims_ocmdcode.htm
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1731
Location: UK

PostPosted: Wed Jan 14, 2015 3:43 pm    Post subject:
Reply with quote

That is for IMS Version 13. Which version are you using? If you do not know then check with your admin (but it should appear somewhere on IMS generated output).
Back to top
View user's profile Send private message
Ed Goodman

Active Member


Joined: 08 Jun 2011
Posts: 556
Location: USA

PostPosted: Wed Jan 14, 2015 11:40 pm    Post subject:
Reply with quote

Well, your link says "You must specify the offset and length as two 4-byte binary values"

What you have in your example is not two four byte fields. I doubt you can use the internal format of the hex representation within the quotes.


So...define an SSA in whatever PLI calls working storage, then use that.
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 MAX-RC 88 and Return code 606 in DFH0... lind sh CICS 2 Tue Jan 24, 2017 1:23 pm
No new posts Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm
No new posts How to Capture the Max return code of... anilkumar922 All Other Mainframe Topics 2 Thu Jan 12, 2017 12:02 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts PL/I code tuning/Performance improvement Virendra Shambharkar PL/I & Assembler 4 Mon Dec 05, 2016 11:57 am


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