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 |
What is the meaning of 'TALLING' verb in cobol?
File status must be checked both while opening and reading the file or only while reading the file?
Can we change the password using ALTER? anyone tried and changed?
what is record label is empty or standard in file description of data division?
hi dudes.....can any one help me..... what is SET TO TRUE all about,anyway?
what is meant by binary search?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
In an EVALUATE statement, can I give a complex condition on a when clause?
If you were passing a table via linkage, which is preferable - a subscript or an index?
after udatingg first 110 rows, my job abends. now how do i change my cobol program so that when i restart the Job it will start updating from 111th row ( i.e in next run I di=ont want to update those 110 rows which are already been updated in the first run before job abend)
What is LENGTH in COBOL II?
Under which scenario you would go for a static call as opposed to dynamic call?