http://www.geocities.com/srcsinc/drona/programming/languages/jcl
NOTION OF LOGICAL LEVELS WITH LINK XCTL AND RETURN!!
The CICS Terminal Control is the highest level and is considered to be running at LEVEL 0.The first initiated one by entering the TRAN-ID is said to be at LEVEL 1. If PROGRAM-A at LEVEL 1 is calling PROGRAM-B using the LINK command, then PROGRAM-B is considered to be at LEVEL 2 as both PROGRAM-A and PROGRAM-B will both be loaded in MAIN STAORAGE. If PROGRAM-C is called by PROGRAM-A using the XCTL command, then, PROGRAM-C is said to be at LEVEL 1 as PROGRAM-A will be removed from MAIN STORAGE after loading PROGRAM-C. The options that are used with LINK and XCTL commands are PROGRAM, COMMAREA and LENGTH. RETURN command is used to transfer control from one logical level to the level one above it.A RETURN command at logical LEVEL 1 (only at LEVEL 1) can have the options TRANSID, COMMAREA and LENGTH to initiate a new TRANSACTION once the control is passed to the CICS.The RETURN command at all other logical levels should be issued without any options.
No comments:
Post a Comment