View previous topic :: View next topic |
Author |
Message |
madan777in Beginner
Joined: 07 Dec 2005 Posts: 12 Topics: 6
|
Posted: Wed Apr 18, 2007 8:26 am Post subject: SqlCode Move |
|
|
Hi ,
Iam facing problem with the below schenirio..
Called program as variable delared as
SQLCODE S9(9) COMP
RP529-COMM-SCRATCH-PAD PIC X(1973).
As per the program logic in called program I need to move data of SQLCODE S9(9) COMP to RP529-COMM-SCRATCH-PAD .
And in calling program
Called program variable to pass to calling program variable RP529-COMM-SCRATCH-PAD and again I need to move the data to variable SQLCODE S9(9) COMP of calling program to display in cics screen .
When there is -913 in called program or any negative sql code occurs while i move to calling program it displays only 913 or +913 .
Please help me in this ...
Thanks ....
Could some show some logic behind this move from called program to calling program. |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Wed Apr 18, 2007 8:54 am Post subject: |
|
|
madan777in,
Quote: |
I need to move the data to variable SQLCODE S9(9) COMP of calling program to display in cics screen .
|
How is the variable defined in the map? Is it defined as a character? or numeric with picin and picout?
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
|
|