mainframe Online Quiz - 23
Description: mainframe Online Quiz - 23 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: mainframe |
Assume a PL/I program that wants to execute a call to an external procedure. This procedure expects 1 parameter and returns 1 parameter. Which instructions do you have to provide in the main program? (1) DCL MYSUB ENTRY (CHAR(5)) EXTERNAL; (2) DCL MYSUB ENTRY (CHAR(5)) RETURNS (CHAR(5)) EXTERNAL; (3) DCL MYPARAMETER,MYRESULT CHAR(5); (4) CALL MYSUB (MYPARAMETER); (5) MYRESULT = MYSUB; (6) MYRESULT = MYSUB(MYPARAMETER);
Take a look at the following PL/I program. Assume A, B, C, ... being PL/I instructions. In which order will they be executed?MYPROG : PROCEDURE OPTIONS (MAIN);
How to use host variables in DB2 queries while they accessed through cobol programs.
Match the below SQL CODE (1,2,3,4,5) Cause (A,B,C,D,E) 1)904 A)The string representation of a date time value is not a valid 2)818 B) Resource unavailable 3)181 C)Duplicate key on insert or update 4)803 D)Deadlock or timeout. Rollback has been done 5)911 E)Plan and program: timestamp mismatch
What is the maximum Program Name length can be given in a Cobol Program.
In the Procedure Division of a COBOL program, which of the following is Optional?
While Search in a VSAM file, if Return Code 23 is thrown, what it means.
What can be the maximum number of digits declared in a variable?
Which of the below cannot be used in a JCL.
What is the maximum value can be stored in S9(8) COMP
Please identify the utility to kill DB2 utilities, which is running / existing on table.
What is the use of DB2 utility RUNSTAT
How to check the success of your binding job
Which of the following is not DATABASE privilege?
20.In a program if two input files are being used and one of them will be created in Predeccesor job(it's not mandatory that the file should be created).Irrespective of the file creation if the job has to be run with out abend then what is the command used in COBOL program File division.
Which of the following is NOT a COBOL verb?