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 |
we can use set true for condition names.. similarly can we code set to false in cobol pgm? will it work?
In a program, variables are used but no DB2 involved in it. Can you call it as host variables??
How can you add a particular field in copybook?
Suppose a program has the following code. What will be the output? MAIN-PARA. DISPLAY 'MAIN-PARA' PERFORM SECTION-A. STOP RUN. SECTION-A. PARA-A1. DISPLAY 'SECTION A PARA A1'. PARA-A2. DISPLAY 'SECTION A PARA A2'.
How do u find the programs calling the given module, without having doing 3.13 on loadlib/source library?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
Can we redefine the field of x(200) to less than 200?
COMPUTE X = A * B - C * D and COMPUTE X = (A * B) - (C * D) (a) Are not the same (b) Are same (c) Syntactically wrong (d) Will yield a run time error
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
What are the two search techniques ?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
hi, can you ppl tell me, how to check whether the rewrite we gave for the ksds file is successful or not in the program.? i gave rewrite, the rewrite code is executing and maxcc=0 but updation doenot happen in the file?