View previous topic :: View next topic
|
Author |
Message |
Appu
New User
Joined: 26 Apr 2010 Posts: 73 Location: India
|
|
|
|
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 |
|
|
Ed Goodman
Active Member
Joined: 08 Jun 2011 Posts: 556 Location: USA
|
|
|
|
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 |
|
|
Appu
New User
Joined: 26 Apr 2010 Posts: 73 Location: India
|
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
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 |
|
|
Ed Goodman
Active Member
Joined: 08 Jun 2011 Posts: 556 Location: USA
|
|
|
|
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 |
|
|
|