Page 1 of 1

Query regarding LINK in CICS programming

PostPosted: Sat Apr 30, 2011 8:25 am
by Viswanathchandru
Hi folks,
I have a piece of code( COBOL CICS) which uses LINK. Say PGM1 is the main program which links to the program PGM2. PPT entry for PGM1 is defined. My doubt is:Is that mandatory that PGM2 should also have a PPT entry defined?
Thanks,
Viswa

Re: Query regarding LINK in CICS programming

PostPosted: Sat Apr 30, 2011 6:35 pm
by Robert Sample
I am always amazed at the number of people who post questions without bothering to look at the manuals. The CICS Application Programming Reference manual on the LINK command states
If the requested program is not defined to CICS, and AUTOINSTALL is active, CICS supplies a definition for the program. If this is a local definition, and the linked-to program is not already in main storage, CICS loads it.
So you could have gotten an answer from the manual in minutes rather than waiting all this time for a post! And if you're going to ask if AUTOINSTALL is in use at your site -- don't. Only someone AT YOUR SITE can answer that question, say, a site support person.

Re: Query regarding LINK in CICS programming

PostPosted: Wed May 04, 2011 2:31 pm
by Viswanathchandru
Hi Robert,
Thanks a Lot for your time, support and for your valuable comments!!!!!!!!



Thanks,
Viswa