![Mainframe refresher by muthu pds](https://kumkoniak.com/57.jpg)
![mainframe refresher by muthu pds mainframe refresher by muthu pds](https://image.slidesharecdn.com/mainframe-refresher-part-1-130308042651-phpapp02/95/mainframe-refresherpart1-30-638.jpg)
CALL can transfer multiple data elements, where as LINK can transfer only one. CALL can be used to transfer more than 32K between the calling and called programs.ģ. The reason being CALL executes in the same run unit of the main program, wehre as LINK runs in a separate run unit.Ģ. CALL gives a better performance over LINK. We can write the jcl to a system TDQ which can be accessed by batch applications.ħ) How LINK is different from XCTL? Can we use a call in CIC program?ġ. The opposite of the GTEQ option is the EQUAL option (the default), which means that you want only a record whose key matches exactly that portion (full or generic) of the key that you have specified.Ħ) How you start/submit a job(JCL) from CICS? You can use GTEQ with either a full or a generic key. The GTEQ option indicates that you want the first record whose key is “greater than or equal to” the key you have specified.
![mainframe refresher by muthu pds mainframe refresher by muthu pds](https://image.slidesharecdn.com/1bf44b9e-54a0-4f7c-ae29-f3695d37ec6c-160105143323/95/muthu-profile-3-638.jpg)
For the READ command, CICS uses only the first KEYLENGTH option characters. The GENERIC option indicates that you require a match on only a part of the key when you specify the GENERIC option, you also must specify the KEYLENGTH option, to say how many positions of the key, starting from the left, must match. There are two options that qualify your key value GENERIC and GTEQ. When reading from a KSDS, you can identify the record you want uniquely by specifying its full key, or you can retrieve the first (lowest key) record whose key meets certain requirements.
![mainframe refresher by muthu pds mainframe refresher by muthu pds](https://image.slidesharecdn.com/mainframe-refresher-part-1-130308042651-phpapp02/95/mainframe-refresherpart1-13-638.jpg)
But when we issue XCTL to another program it never expected to return to the calling program.ĥ) How do you read a specific record from a VSAM-KSDS file in a COBOL-CICS program? Direct reading from a KSDS
![mainframe refresher by muthu pds mainframe refresher by muthu pds](https://image.slidesharecdn.com/mainframe-refresher-part-1-130308042651-phpapp02/95/mainframe-refresherpart1-34-638.jpg)
Generally RETURN/GO BACK is issued if current program is returning to a program which is one level above current program. Program B receives that if any via COMMAREA and after its process it returns data to calling program A via COMMAREA only.Ĥ) What happens when PROGRAM-A XCTL’s to PROGRAM-B and a RETURN/GO BACK is issued in PROGRAM-B? I think No.because they are referenced to storage areas and they are similar to COMMAREA.ģ) If PROGRAM-A links to PROGRAM-B, what would happen in PROGRAM-A after it links to PROGRAM-B? 1) What are Channels and Containers? How and why are they used?Ģ) Do you need any entries in any tables in CICS for Channels and Containers?
![Mainframe refresher by muthu pds](https://kumkoniak.com/57.jpg)