How to increase the logical record length of existing PS
file?

Answers were Sorted based on User's Feedback



How to increase the logical record length of existing PS file?..

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

How to increase the logical record length of existing PS file?..

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

How to increase the logical record length of existing PS file?..

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

How to increase the logical record length of existing PS file?..

Answer / raghu

Sntax: //SYSOUTDD DD SYSOUT=*,OUTLIM=500
by using outlim paramtr we can increase it

Is This Answer Correct ?    2 Yes 0 No

How to increase the logical record length of existing PS file?..

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

How to increase the logical record length of existing PS file?..

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

How to increase the logical record length of existing PS file?..

Answer / sudha2811

LRECL can be altered using IEBGENER utility.

If I am wrong, pls correct me

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More COBOL Interview Questions

Can we move X(9) to 9(9). If yes what are the ways for doing this?

3 Answers  


There is a production file which has millions of records in it.The program that uses it ends up with an SOC7 abend.It is sure that the abend is due to some invalid data in the file.Is there any way to debugg the SOC7 abend with out giving displays? I need the record which is cause for the abend.

8 Answers   Danske, iGate,


what is ASRA, AEY9?

2 Answers   IBM,


what will happen if pass values more than 100 using PARM parameter?

1 Answers  


what is linkcard in cobol?

1 Answers   TCS,






What are the pertinent COBOL commands?

0 Answers   Satyam,


is it mandatory to give data division before procedure division ? wht happens if i give procedure division first thn data division ? reply soon

2 Answers   Patni,


What are the different data types available in COBOL?

4 Answers  


what modification we need to do in jcl if we use sort in cobol? I mean whether we need to include tempary file used for sorting in assign statement?

3 Answers   TCS,


If i initialize the 01 level variable in array, will it initialize all the array elements (occurs)?

8 Answers   CTS,


i have a sequencial file contains multiple records, i want to extract one row which contains various fields like order number,date,warehouse,.ect.. in to the another file by accepting the order number from jcl. how can i do it. pls help me..

4 Answers   CGI,


I have a cobol program with a sub program. How ca i find that it is a dynamic call? or static call..?

3 Answers   HCL, IBM,


Categories