Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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

How to retain the Duplicates in the one records?

3 Answers   CS,


Name some of the examples of COBOl 11?

0 Answers   CSC,


consider the following two IF statements: IF X AND NOT Y MOVE A TO B IF Z=1 OR 9 MOVE A TO B select one of the following data divusion entries which gives identical results for both the above IF statements a.01 Z PIC 9 88 X VALUE 1.9 88 Y VALUE 0.2 THRU 8 b.01 Z PIC 9 88 X VALUE 0.2 THRU 8 Y VALUE 1.9 c.01 Z PIC 9 88 X VALUE 1.9 88 NOT-Y VALUE 0.2 THRU 1.9 d.none of yhe above

3 Answers   TCS,


hi friends,can any one post the ibm mainframe inteqview questions for 1year exp candidate,for itc infotech interview?. have any body attended for this in the past?...

1 Answers   ITC Infotech,


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1 Answers  






I try to use some column names in my cobol progorm but these column not in db2 table ..when do i get error ..while bind time or runtime?

2 Answers  


consider the following FD FILE-1 01 REC-1 PIC X(80) ...... WORKING-STORAGE SECTION 01 W-REC PIC X(90) ........ PROCEDURE DIVISION FIRST-PARA ....... READ FILE-1 INTO W-REC AT END MOVE 1 TO EOF-FLAG which of the following is true with respect to the above? a.REC-1 will contain nothing and W-REC will contain the contains of the record read b.REC-1 and W-REC contain the same data c.syntex is invalid and error will occur d.REC-1 and W-REC must be of same size

1 Answers   TCS,


which is better comp or comp-3 in terms of memory utilization?

6 Answers  


If i have a variable A pic 9(2) value 10 Compute A = a - 100 what will be the value of A and will there be any error becoz of the Negative value

3 Answers   CTS,


write a program to eliminate duplicate records in a input file and send them to output file.THIS IS IGATE RECENT QUESTIONN.....JUST 1 WEEK BACKKKK...

5 Answers   iGate,


How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length

3 Answers   TCS,


) How do you access the migrate the data from production region to development region

1 Answers   IBM,






Categories