Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

if you code move high-values to variable,can you move it into numeric variable or alphanumeric variable?

1 Answers   Patni,


1.What is the limit of linkage section?

4 Answers  


There is a variable with value 19446. Requirement is to convert it to 194.46. I tried it by doing divide by 100 and my receiving field data type is 9(03)v99. But the output is 194. I am not getting the decimal value. Could anyone pls let me know how to get this done?

2 Answers  


I have a Flat file in which certain records are present in a tabular format. I need to extract some of the records on some basis from it and copy them into a flat file...how it can be done ??

2 Answers   HCL,


I want ALL jcl ERROR cods

1 Answers  


Suppose, file A has 100 records and file B has 500 records. We want to write records common to both A and B into file C and records which are present only in either A or B into another file D. What should be the logic of Cobol program to achieve this?

7 Answers   Bank Of America, Mind Tree,


ID DIVISION. PROGRAM-ID. PLO. DATA DIVISION. WORKING-STORAGE SECTION. 01 VAR1 PIC 9(2). 01 VAR2 PIC X(2). PROCEDURE DIVISION. ACCEPT VAR2. MOVE VAR2 TO VAR1. STOP RUN. if i give 'PI' in var2 then what will b output of progr. any abend?????

6 Answers   TCS,


What is an in line perform? When would you use it? Anything else you wish to say about it.

0 Answers  


i want to use only first 100 records from a file.plz tell me how to write JCL for this(for read,copy,write operations).plz give me details of all posible JCL utilities?

7 Answers   CTS,


period is missing in the cobol program which error we getting

5 Answers   TCS, Tesco,


if i am reading a file with some 50000 records and moving to a DB2 table and suddenly the program abends in between, is there anyway i could restart from the exact record at which the job failed once the program restarts.

2 Answers   UST,


what happens if parmparameter passes zero bytes to the program

0 Answers   HSBC,


Categories