Tag: mainframe

Questions Related to mainframe

  1. Begins an input data prompt at the system console

  2. Begins an in-stream dataset

  3. Marks the end of a command stream

  4. Includes all datasets within a naming pattern


Correct Option: B
Explanation:

To understand the purpose of the SYSIN DD * statement in JCL, the user needs to know that JCL (Job Control Language) is a scripting language used on IBM mainframe operating systems to instruct the system on how to run batch jobs. The SYSIN DD * statement is used to provide input to a program or utility that reads from standard input.

Now, let's go through each option and explain why it is right or wrong:

A. Begins an input data prompt at the system console: This option is incorrect because SYSIN DD * statement does not begin an input data prompt at the system console. It provides input to a program or utility that reads from standard input.

B. Begins an in-stream dataset: This option is correct. The SYSIN DD * statement specifies that the input data is provided in-stream, which means the data is included within the JCL script itself, rather than being read from a separate data set.

C. Marks the end of a command stream: This option is incorrect because SYSIN DD * statement does not mark the end of a command stream. It provides input to a program or utility that reads from standard input.

D. Includes all datasets within a naming pattern: This option is incorrect because SYSIN DD * statement does not include all datasets within a naming pattern. It provides input to a program or utility that reads from standard input.

Therefore, the correct answer is:

The Answer is: B. Begins an in-stream dataset

Which report in AXIOM will have the transactions posted of all account numbers

  1. O11

  2. R30

  3. O17

  4. U03


Correct Option: C

Inorder to include timestamp to the filename, which sentinel needs to be appended to the delivering filename

  1. $DATE_TIME$

  2. $TID$

  3. $TIME$

  4. $ALPHA_SEQ$


Correct Option: A

Which among the following parameters in SFTPROC is correct for transmitting files from mainframe to a mailbox via SFT in binary mode

  1. &TXLATE=YES and &TDATTYP=TEXT

  2. &TXLATE=YES and &TDATTYP=BINARY

  3. &TXLATE=NO and &TDATTYP=TEXT

  4. &TXLATE=NO and &TDATTYP=BINARY


Correct Option: D

When you have less that 20 elements in a database table, then which among the below is preferred options.

  1. Search

  2. Search All

  3. In-Line Perform

  4. All the above


Correct Option: C
  1. SSRANGE

  2. COBOL COMPILER

  3. SYSTEM

  4. DFSORT


Correct Option: D

How do you eliminate duplicate values in DB2 SELECT?

  1. Use SELECT UNION(*)...in db2 query

  2. Use SELECT DISTINCT...in db2 query

  3. Use SELECT UNION ALL(...)...in db2 query

  4. Use SELECT DISTINCT ALL(*)...in db2 query


Correct Option: B
  1. IEFBR14

  2. IDCAMS

  3. DFSRRC00

  4. IKJEFT01


Correct Option: B
  1. Billing digit

  2. Billing cycle

  3. Check digit

  4. Replacement digit


Correct Option: B