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 |
How to increase the logical record length of existing PS file?
In an array processing what is the thing that can be done by using subscripts but not by using index
WORKING-STORAGE SECTION. 01 VAR1 COMP-2 VALUE 0. PROCEDURE DIVISION. MOVE 10.2115 TO VAR1. DISPLAY 'VAR1 =' VAR1. GOBACK. 10.2115 is stored as .10211499999999996E 02 in OS VS Cobol 10.2115 is stored as .10211500000000000E 02 in ecobol. Any reason why?
Is this allowed? 01 WS-TABLE. 03 FILLER-X PIC X(5) VALUE 'AAAAA'. 03 WS-EX REDEFINES FILLER-X OCCURS 5 TIMES PIC X(1). can redefines clause be used with occurs clause?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
Is It Possible to Update or change in VIEW Mode?
give the examples for strings and unstrings in cobol
A LESS 1200 IF B GREATER 25 MOVE 47 TOC ELSE MOVE 57 TO C IF A GREATER 249 MOVE 67 TO C ELSE NEXT SENTENCE ELSE IF B LESS 67 MOVE 27 TO C What will be the value of C, when A is 137 and b is 25
Why did you choose to work with ibm mainframe cobol programming?
Name the sections present in data division.
How many bytes S(8) comp field occupy and its maximum value?
In EBCDIC, how would the number 1234 be stored?