Can printer files (having 133 characters) be of variable
length?

Answers were Sorted based on User's Feedback



Can printer files (having 133 characters) be of variable length?..

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

Can printer files (having 133 characters) be of variable length?..

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

Can printer files (having 133 characters) be of variable length?..

Answer / jagannath

No the file has to be of fixed byte with length 133.

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More COBOL Interview Questions

we can use set true for condition names.. similarly can we code set to false in cobol pgm? will it work?

1 Answers  


In a program, variables are used but no DB2 involved in it. Can you call it as host variables??

4 Answers   EDS,


How can you add a particular field in copybook?

2 Answers   L&T,


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'.

4 Answers  


How do u find the programs calling the given module, without having doing 3.13 on loadlib/source library?

2 Answers  






How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

0 Answers  


Can we redefine the field of x(200) to less than 200?

0 Answers  


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 Answers   TCS,


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?

0 Answers   IBM,


What are the two search techniques ?

2 Answers   iGate,


How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

0 Answers  


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?

1 Answers   CGI,


Categories