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 |
Can you call an OS VS COBOL pgm from a VS COBOL II pgm ?
In file1 have 80 records are like d1,d2,d3......D80. File2 have 1000records are like a1d1,a1d2,a3d3.....Etc. I want matching records in file3 ? Plse tell me the matching logic???I want answer only in cobol ?Not using any tool or jcl?
What is the purpose of Identification Division?
how many bytes does s9(7)COMP-3 field occupies?
what is subscript in cobol?give realtime example?
Consider the following: 77 W-NUM PIC 9 VALUE 0 ------ MOVE 1 TO W-NUM PERFORM PARA-X UNTIL W-NUM > 9. ------ PARA-X ADD 1 TO W-NUM How many times PARA-X is executed ?
is it possible to pass an SQL query inside a jcl which is inside a cobol program?
when SE37 SB37 and sd37 occurs how to increase the volume , primary quantity and secondary quantity?
I want ALL ERROR codes in VSAM
3 Answers American Express, TCS,
What is the difference between static call & Dynamic call?
which is faster either static call or dynamic call ? and specify the reasons for it ? reply fast
what are the steps to sort in a cobol program?