MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SqlCode Move

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
madan777in
Beginner


Joined: 07 Dec 2005
Posts: 12
Topics: 6

PostPosted: Wed Apr 18, 2007 8:26 am    Post subject: SqlCode Move Reply with quote

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
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Wed Apr 18, 2007 8:54 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group