| Next Tip?
Home » Archive

Articles in the Cobol Category

CICS, Cobol »

[9 Aug 2009 | No Comment | 269 views]

Q141)    How do you get data from a task that began with a START command?
A141)     The RETRIEVE command is used to get data from a task that began with a START command.
Q142)    What is interval control and what are some of the CICS commands associated with it?
A142)     CICS interval control provides a variety of time-related features – common commands are ASKTIME, FORMATTIME, START, RETRIEVE, and CANCEL.
Q143)    What is task control and what are the CICS commands associated with it?
A143)     Task control refers to the CICS functions that …

CICS, Cobol »

[9 Aug 2009 | No Comment | 251 views]

Q122)    What tables must be updated when adding a new transaction and program?
A122)     At a bare minimum the Program Control Table ( PCT) and Program Processing Table (PPT) must be updated.
Q123)    What is the meaning of the SYNCPOINT command?
A123)     SYNCPOINT without the ROLLBACK option makes all updates to protected resources permanent, with the ROLLBACK option it reverses all updates.
 
Q124)    What do the terms locality of reference and working set mean?
A124)     They refer to CICS efficiency techniques. Locality of reference requires that the application program should consistently reference …

CICS, Cobol »

[9 Aug 2009 | No Comment | 214 views]

Q71)   What does the following transactions do?
A71)   CEDF : CICS-supplied  Execution  Diagnostic  Facility  transaction.  It  provides interactive  program execution  and  debugging  functions  of  a  CICS programs.
CEMT : CICS-supplied  Extended  Master  Terminal  transaction.  It  displays  or  manipulates CICS control environment  interactively.
CEBR : CICS-supplied  Temporary  Storage  Browse  transaction.  It  displays  the  content of 
               Temporary Storage  Queue ( TSQ ).
CECI :  CICS-supplied  Command  Interpreter  transaction.  It  verifies  the  syntax  of  a CICS  command and  executes  the  command.
                                
Q72)   Explain floating maps with illustration.
A72)   Maps which can position themselves  relative to the previous maps on …

CICS, Cobol »

[9 Aug 2009 | No Comment | 218 views]

Q51)   What is the difference between EXEC CICS HANDLE CONDTION and an EXEC CICS IGNORE command?
A51)   A HANDLE CONDITION command creates a “go-to” environment. An IGNORE command does not create a go-to environment; instead, it gives control back to the next sequential instruction following the command causing the condition. They are opposites.
Q52)   What happens when a CICS command contains the NOHANDLE option?
A52)   No action is going to be taken for any exceptional conditional occurring during the execution of this command. The abnormal condition that occurred will be ignored even if …

CICS, Cobol »

[9 Aug 2009 | No Comment | 215 views]

Q32)   Code a program meeting the following requirements.
‘EMPS’ is a transaction used to return information pertaining to an employee when the “EMPID” is entered on the screen. The information pertaining to an employee is present in a VSAM/KSDS dataset registered in FCT as “EMPINFOR”. The map and the working storage section of the emp-info are given for reference. If the employee id is found the information has to be sent to the screen (Status field) with the message “Emp Id: XXX found.”. If the emp-id key is not found …

CICS, Cobol »

[9 Aug 2009 | No Comment | 244 views]

Q21)   What is the option specified in the read operation to gain multiple concurrent operations on the same dataset?
A21)   REQID(value).
Q22)   What is the CICS command that gives the length of TWA area?
A22)   EXEC CICS ASSIGN
TWALENG(data-value)
END-EXEC.
 
Q23)   What are the attribute values of Skipper and Stopper fields?
A23)   ASKIP, PROT.
 
Q24)   How do you set the MDT option to ‘ON’ status,  even if data is not entered?
A24)       Mention FSET option in DFHMDF or set it dynamically in the program using FIELD+A attribute field.
 
Q25)   What option is specified in the SEND …

CICS, Cobol, Mainframe »

[9 Aug 2009 | No Comment | 328 views]

Q1) What are the six different types of argument values in COBOL that can be placed in various options of a CICS command?
A1)

·Data Value                 – EX (Literal 8 or 77 KEYLEN PIC S9(4) COMP VALUE 8.)
·Data Area   – EX  (01 RECORD-AREA.

05 FIELD1 PIC X(5). )

·Pointer-Ref                – EX (05 POINTER-I PIC S9(8) COMP. )
·Name                           – EX (05 FILE-NAME PIC X(5) VALUE ‘FILEA’. )
·Label                           – Cobol paragraph name
·HHMMSS   – EX (77 TIMEVAL PIC S9(7) COMP3. )

 
Q2) Kindly specify the PIC clause for the following
Any BLL Cell, …

CICS, Cobol, Mainframe »

[9 Aug 2009 | No Comment | 271 views]

Customer Information Control System(CICS)
IBM’s Customer Information Control System (CICS) is  an on-line teleprocessing system developed by IBM. By providing a sophisticated control and service database/data communication system, the application developer can concentrate on fulfilling specific business needs rather than on communication and internal system details. CICS allows data to be transmitted from the terminal to the host computer, have the data processed, access files/databases, and then have data to be transmitted from the terminal to the host computer, have the data processed, access files/databases, and then have data transmitted back …

Cobol, Mainframe »

[9 Aug 2009 | No Comment | 437 views]

Following are the unsolved questions

What R 2 of the common forms of the EVALUATE STATEMENT ?
What does the initialize statement do ?
What is the reference modification.
Name some of the examples of COBOl 11?
What are VS COBOL 11 special features?
What are options have been removed in COBOL 11?
What is the file organization clause ?
What is a subscript ?
What is an index for tables?
What are the two search techniques ?
What is an in-line perform ?
What is CALL statement in COBOL?
When can the USING phrase be included in the call statement ?
In EBCDIC, …

Cobol, Mainframe »

[9 Aug 2009 | No Comment | 221 views]

Q106)    What is Redefines clause?
A106)     Redefines clause is used to allow the same storage allocation to be referenced by different data names .
Q107)    How many bytes does a s9(4)comp-3 field occupy?
A107)     3Bytes (formula : n/2 + 1))
Q108)    What is the different between index and subscript?
A108)     Subscript refers to the array of occurrence , where as Index represents an occurrence of a table element. An index can only modified using perform, search & set. Need to have an index for a table in order to use SEARCH and SEARCH All.
Q109)    What …