View previous topic :: View next topic
|
Author |
Message |
karthickpearl
New User
Joined: 13 Apr 2010 Posts: 35 Location: Chennai
|
|
|
|
Hi guys,
I've successfully connected the IMSDB with a transaction from online region using a rexx code. I face issues in handling the return codes of the IMS calls.
Below is my code:
Code: |
Address REXXTDLI
DataBase='#6'
SSA1='IMSDB1(BEEQ'bc')'
'GU DATABASE chk SSA1'
|
Below is my output for an invalid key (in my message queue):
Code: |
DFS3160I IMS CMD=GU DATABASE chk SSA1
DFS3161I REXXTDLI Call=GU RC=0900 Reason=0000 Status="GE"
|
When I print the RC variable it gives a value of 2304.
How can I get the actual return code/ status/ reason that are in my message queue viz. RC=0900 Reason=0000 Status="GE"
Can somebody help me as I'm stuck up here.
Thanks in advance for your help. |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
'900'x is 2304 decimal. Does that help? |
|
Back to top |
|
|
karthickpearl
New User
Joined: 13 Apr 2010 Posts: 35 Location: Chennai
|
|
|
|
That didn't stirke for me earlier.. Thank u...
But is there a way to get the status as well?
And I need one more information, possibly a link containing list of status and reutrn codes. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
Back to top |
|
|
|