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
I have files that contains both duplicates files(occur more than twice) and non-duplicate files.The file is already sorted by a key.I want to determine those records that are duplicate and will be move to a duplicate file and non- duplicate files to be move to a valid file.thank you.help please
study the following code 01 A1 05 B PIC 99 05 C PIC X(4) 01 A2 05 B PIC 99V99 05 C PIC A(4) pick out the valid statement from the following a.A1 and A2 can not have sub-ordinates b.A1 and A2 can have the same sub-ordinates but must have same PIC clause c.there is nothing wrong d.A1 and A2 can have same sub-ordinates provided they are not at 01 level
What is Alternate Index ? How is it different from regular index ?
What is the difference between subscript and index?
In an EVALUTE statement is the order of the WHEN clauses significant?
What is the difference between CONTINUE & NEXT SENTENCE ?
how many subpgms we can use in a main pgm ? how do u link sub pgm to main pgm ? how can i use the parameters declared in main pgm to sub pgm ?
what is the use of comp2 ? where can we use it with example ?
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
Explain Restart Logic in Cobol?
Which of the following EDITind and PICTURE symbols is to be used if a minus(-) is to appear before the value if the value is -ve and a plus(+) is to appear before the value if the value is +ve? (a) + (b) - (c) + OR (d) It is not possible