Can printer files (having 133 characters) be of variable
length?
Answers were Sorted based on User's Feedback
Answer / amy
The printer file is defined as FBA(Fixed block attribute)
with a length of 133 where the first byte contains the
printer carriage control characters and rest 132 contains
printable characters.
It can't be of variable length.
| Is This Answer Correct ? | 12 Yes | 0 No |
Answer / atif
Printer File can be in two format. One is FB-133 byte n
another is FBA-134 byte
| Is This Answer Correct ? | 1 Yes | 3 No |
Answer / jagannath
No the file has to be of fixed byte with length 133.
| Is This Answer Correct ? | 0 Yes | 3 No |
IF I mention stop run in CICS what happens?
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.
What kind of error is trapped by on size error option?
What is an in line perform? When would you use it? Anything else you wish to say about it.
which is better comp or comp-3 in terms of memory utilization?
What is the difference between SEARCH and SEARCH ALL?
what happens of we dont give time stamp in precompilation process
which one is better among static call and dynamic call?
How to delete leading spaces/blank in COBOL ? Example:- 01 data-name-1 pic x(220) " English is a language". I would like to delete leading spaces.
Which 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
Consider the following: 77 W-NUM PIC 9 VALUE 0 ------ MOVE 1 TO W-NUM PERFORM PARA-X UNTIL W-NUM > 9. ------ PARA-X ADD 1 TO W-NUM How many times PARA-X is executed ?
What is sqlca and why is it needed in any cobol-db2 program?