given the following piece of code: CALL SUB-PGM USING A, B, C. CALL SUB-PGM USING A, C, C. (a) Both CALL statements will always produce same result. (d) Both CALL statements may produce different result. (c) Compile-time error because SUB-PGM is a dataname. (d) Compile-time error because A, B, C are used twice.
TCS,
2 8609The hierarchy of the execution of logical operators is (a) NOT AND OR (b) AND OR NOT (c) OR AND NOT (d) OR NOT AND
10 33346The order of precedence of arithmetic operators in an expression can be overridden with the use of (a) [] (b) () (c) {} (d) Any of the above
TCS,
3 9968Which of the following paragraphs is compulsory in every COBOL program? (a) SPECIAL-NAMES (b) PROGRAM-ID (c) FILE-CONTROL (d) OBJECT-COMPUTER
4 9206Which of the following files can be OPENed in all the 4 modes? The four modes are INPUT, I-O, OUTPUT and EXTEND. (a) INDEXED (b) RELATIVE (c) SEQUENTIAL (d) All of the above
TCS,
7 15101Which of the following EDITind and PICTURE symbols is to be used if a minus(-) is to appear before the value if the value is -ve and a plus(+) is to appear before the value if the value is +ve? (a) + (b) - (c) + OR (d) It is not possible
TCS,
7 10174In the procedure division stmt OPEN OUTPUT FILE1. Which of the following is not true about file1. a) there must be a select clause for this file in the file-control paragraph of environment division. b) There must be an FD entry in the file section of the data division. c) The file name must appear in a WRITE stmt in the procedure division. d) There?ll be a CLOSE stmt in procedure division.
2 7571
What are fset, frset?
What is access path in db2?
Define base cluster?
Explain how can you accomplish breakpoint in intertest?
Write in brief about clusters?
Can min or max be used with alphanumeric data?
Which division and paragraphs are mandatory for a COBOL program?
How does jcl specify the job to the operating system?
what is need of start 0? In steed of
What is meant by a ‘Transid’ ?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
Explain what you understand by passing by value.
What are types of indexes?
How many types of evaluate statements are available?
Can we see the copy book length using file-aid?