How to increase the logical record length of existing PS
file?
Answers were Sorted based on User's Feedback
Answer / praveen kumar
I think there is one way to do this. Simply copy the
existing PS to another file(give '/' beside the PS and Give
option 17(copy)) It will ask for DSname(give any).
you will get 2 options as below
1. Allocate using same attributes
2. specify your own attributes
select '2' option from the above and change the LRECL as
you need.
now delete the actual file and rename the copied file to
original that's it. your requirement has been met:)
| Is This Answer Correct ? | 11 Yes | 0 No |
Answer / praveen kumar
@Raghu: If you use Outlim, that means the spool can be able
to print only 500 lines, it's no way related to LRECL.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / balachander
this is possible through the utility IEBGENER.
//sysut1 dd DSN= <input datsset>
//sysut2 dd dsn =<output dataset>
dcb=(lrecl,100,blksize=1000)
.....
//
| Is This Answer Correct ? | 5 Yes | 3 No |
Answer / raghu
Sntax: //SYSOUTDD DD SYSOUT=*,OUTLIM=500
by using outlim paramtr we can increase it
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / pradeep
Thanks Pravin
I need through it by using JCL , i think there is parameter
which change its size
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / praveen kumar
Yaa, what Balachander is given is correct. Using IEBGENER
utility we can copy one file to another with different
lrecl, but one thing we need to make clear is the LRECL of
the output file should be greater than inputfile otherwise
the data will be truncated.
Thanks
| Is This Answer Correct ? | 2 Yes | 2 No |
Answer / sudha2811
LRECL can be altered using IEBGENER utility.
If I am wrong, pls correct me
| Is This Answer Correct ? | 0 Yes | 1 No |
Identify the invalid dataname from the following: (A) savings-account (B) annual-allocation-for-overhead (C) samount250 (D) 12demand
how do you reference the printer file formats from cobol programs
1) can we display the index?
File status must be checked both while opening and reading the file or only while reading the file?
Can anyone explain me CALL procedure in COBOL.Does it carries similarities like call by reference in C.
What is normalisation?
What are options have been removed in COBOL 11?
C1 C2 C3 are three conditions whose TRUTH values are as folloes. C1-TRUE C2-FALSE C3-TRUE A,B,C are defined as given below A:C1 AND(NOT C2) OR C3 B.(NOT C1) OR (NOT C2 AND NOT C3) C.(C1 OR C2)AND C3 D.C1 AND C2 OR C3 given the above information which of the following statements are valid? a.only A,B and C are TRUE b.only A,C and D are TRUE c.A,B,C and D are TRUE d.only C and D are TRUE
What is the LINKAGE SECTION used for?
what are decleratives in cobol?
wht do u mean by (*,intrdr) wht is * used for ?
How do you define a table/array in COBOL?