Tag: programming languages

Questions Related to programming languages

Which among the following is true for the below definition? Account-Record 1 100 A Account-Number Account-Record 10 N Account-Entity Account-Record +15 03 A State-Code Account-Record +15 03 A

  1. Both State-Code and Account-Entity refer to the 16th byte of the Account-Recored

  2. This definition would throw invalid referencing error while executing

  3. Account-Number refers to the 10th byte of Account-Record

  4. Account-Entity refers to the 15th byte of the Account-Record


Correct Option: A
  1. This statement is used to copy record from PERSNL to MYFILE if the entire record is identical in both the files

  2. This statement moves the like named field values from PERSNL to MYFILE

  3. This statement moves the record from PERSNL to MYFILE if the record-length matches

  4. Both a & c are correct


Correct Option: B
  1. The POINT statement will only establish the position within an ISAM, VSAM relative record (RRDS), VSAM (KSDS) indexed file.

  2. Data in the file will be available only after the next successful sequential retrieval by a file input statement.

  3. both a & b

  4. None of the above


Correct Option: C
  1. TALLY is a system defined field for control report.

  2. Can be used in a Line statement or in calculations within report-procs

  3. Commonly used to determine averages for a control level

  4. Won’t contain the number of detail records that comprise a control break


Correct Option: D

JOB INPUT (CAMMAILP) TEST. In this JOB statement

  1. CAMMAILP is the Job name

  2. CAMMAILP is the File name that you choose for this job

  3. CAMMAILP is the DDName and the input Filename that you have coded

  4. CAMMAILP is the Report name


Correct Option: C

JOB INPUT NULL. Which among the following are valid statements?

  1. This statement cannot be coded in Easytrieve

  2. The input is could be inside the JOB activity

  3. There is no input to this job statement

  4. Both b & c


Correct Option: D
  1. Easytrieve is an information retrieval and data management system

  2. Easytrieve allows fixed, variable, undefined, or spanned record formats

  3. Matches an unlimited number of files

  4. Cannot call progams written in other languages


Correct Option: D
  1. “-“ can only be used

  2. “+” can only be used

  3. can be used

  4. Both “+” and “-“ can be used


Correct Option: D
  1. 48 characters

  2. 40 characters

  3. 32 characters

  4. None of the above


Correct Option: B
  1. JOB, SORT and MERGE

  2. JOB Alone

  3. SORT Alone

  4. JOB and SORT


Correct Option: D