View previous topic :: View next topic
|
Author |
Message |
nimisanand
New User
Joined: 22 Nov 2005 Posts: 24
|
|
|
|
Hi,
I have a main program P1 (CICS). It has a input copybook C1,in which i have a variable C1-acct-id (x(8)). The main program P1 is calling a subprogram P2(COBOL), which has a input copy book C2. C2 contains a variable C2-acct-id (s9(9) comp). Before calling P2, C1-acct-id is moved to C2-acct-id and called using C2 copybook (note its a call and not link or xctl). As soon as the call is done, the C1-acct-id is getting initialized to spaces. I am not initializing C1-acct-id anywhere in the subprog as well i have not used C1-acct-id inside the prog P2.
Please let me know if there could be a reason why the C1-acct-id is getting intialized to spaces.
Regards,
Nimi |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
Please post a (small) example of the copybooks and the call statement.... |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
and try using conventional computer terminology. what is an input copybook? |
|
Back to top |
|
|
|