View previous topic :: View next topic
|
Author |
Message |
saran
New User
Joined: 21 Nov 2005 Posts: 2 Location: Chennai
|
|
|
|
Hi All,
Is it possible to give EXEC CICS command in the procedure division copybook...? If so how to invoke the copybook.
Thanks,
Saran |
|
Back to top |
|
|
raghunathns
Active User
Joined: 08 Dec 2005 Posts: 127 Location: rochester
|
|
|
|
instead of "copy" command you can use "include" to copy the copy book. This will be copied before translate step takes place. |
|
Back to top |
|
|
iknow
Active User
Joined: 22 Aug 2005 Posts: 411 Location: Colarado, US
|
|
Back to top |
|
|
kanak
Moderator
Joined: 12 Mar 2005 Posts: 252 Location: India
|
|
|
|
completely agree with raghunathns, you can use in following way
Code: |
-INC <include Name>
|
it should start from 1st coloumn. When translation happend before that all inc are expanded based upon the copybook/include library provided in the compile JCL. So after xpanasion, thsi will just a like normal CICS code. Hope this help you.
Let us know if you have any other query. |
|
Back to top |
|
|
|