How to increase the logical record length of existing PS
file?
Answer Posted / 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 |
Post New Answer View All Answers
What is the default value(s) for an initialize and what keyword allows for an override of the default?
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
Write down the divisions of cobol program?
What are the different rules of SORT operation?
) what is the difference between AID and HANDLE AID?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
what are decleratives in cobol?
What is redefines clause in COBOL?
Write a cobol program making use of the redefine clause.
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
What is the difference between PIC 9.99 and 9v99 in COBOL?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
How do you get the data to code the BMS macro?
what happens if parmparameter passes zero bytes to the program