Practice Question and Answer

Q: How can we distinguish between an online and batch program in IMS environment? 1700 0

  • Show AnswerHide Answer
  • Workspace

Answer :
Explanation :

If in application program IO-PCB is there then it is a online program. In ENTRY statement IO-PCB must be listed first and then DB-PCB.

Q: What is IMS (DB/DC)? 1047 0

  • Show AnswerHide Answer
  • Workspace

Answer :
Explanation :

IMS (Information Management System) is IBMs hierarchical database management system. It has mainly two components: IMS DB and IMS DC (Also know as IMS TM) IMS DB - IMS/Database Manager as the name implies manages the IMS databases. It is used for physical storage creation and management and data retrieval. IMS DC / IMS TM - IMS/Data Communications or IMS/Transaction Manager handles online transaction processing system.

Q: What is a key field in an IMS database? 919 0

  • Show AnswerHide Answer
  • Workspace

Answer :
Explanation :

A Field that DL/I uses to maintain the segments in the ascending order is called the key field

Q: What are the two types of fields available in IMS DB? 1878 0

  • Show AnswerHide Answer
  • Workspace

Answer :
Explanation :

Key Fields - (PROCOPT=K) - Used to sequence the database and can't be changed - It is the field within a segment, used to identify the occurrence of the segment - Used to maintain the IMS segments in ascending sequence.   Search Fields - (PROCOPT=G) - Used to search for a segment, without the segment being sequenced on that field - A segment need not have a key or search field.   Both types of fields can be used to search the database.

Q: What are the processing modes available in IMS DB? 1698 0

  • Show AnswerHide Answer
  • Workspace

Answer :
Explanation :

Batch DL/I MPP Mode - (Message Processing Program) BMP Mode - (Batch Message Processing)

Q: What is the use of SYSPRINT, SYSIN, DUMMY in JCL ? 894 0

  • Show AnswerHide Answer
  • Workspace

Answer :
Explanation :

SYSPRINT: All system output will appear under this DD card. Suppose you are copying a VSAM file using IDCAMS. Then, number of records processed, highest condition code etc.. will appear under sysprint. You cannot customise SYSPRINT output. SYSIN: This is nothing but SYStem INstruction. Suppose, you want to sort a file on certain key. You have to have following command under SYSIN. SORT FIELDS = (starting-col,length,data-type,A/D) SUM FIELDS = NONE DUMMY: Mainly used where user is intended to simulate a program without creating an output file.

Q: What are SD37, SB37, SE37 abends? 1087 0

  • Show AnswerHide Answer
  • Workspace

Answer :
Explanation :

All indicate dataset out of space. SD37 - no secondary allocation was specified. SB37 - end of vol. and no further volumes specified. SE37 - Max. of 16 extents already allocated.

Q: How will you call the return code of JCL ? 1042 0

  • Show AnswerHide Answer
  • Workspace

Answer :
Explanation :

Return Code in JCL can b obtained by the use of COND paramater...it is used to know the return codes of previous steps.

      Report Error

    Please Enter Message
    Error Reported Successfully

      Report Error

    Please Enter Message
    Error Reported Successfully

      Report Error

    Please Enter Message
    Error Reported Successfully

      Report Error

    Please Enter Message
    Error Reported Successfully

      Report Error

    Please Enter Message
    Error Reported Successfully

      Report Error

    Please Enter Message
    Error Reported Successfully

      Report Error

    Please Enter Message
    Error Reported Successfully

      Report Error

    Please Enter Message
    Error Reported Successfully