IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

EXEC CICS command in Copybooks


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
saran

New User


Joined: 21 Nov 2005
Posts: 2
Location: Chennai

PostPosted: Thu Dec 15, 2005 2:05 pm
Reply with quote

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

Active User


Joined: 08 Dec 2005
Posts: 127
Location: rochester

PostPosted: Thu Dec 15, 2005 2:26 pm
Reply with quote

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

Active User


Joined: 22 Aug 2005
Posts: 411
Location: Colarado, US

PostPosted: Thu Dec 15, 2005 2:29 pm
Reply with quote

Hi Saran,

Check this link for the exact information.

www.mainframeweek.com/journals/articles/0068/CICS+Integrated+Translator+for+COBOL+and+PL/I


Hope this helps.
Back to top
View user's profile Send private message
kanak

Moderator


Joined: 12 Mar 2005
Posts: 252
Location: India

PostPosted: Mon Dec 19, 2005 4:45 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Using API Gateway from CICS program CICS 0
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts DTL - how to define key with stacked ... TSO/ISPF 3
No new posts LTJ command CA Products 4
Search our Forums:

Back to Top