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...


WE HAVE 2 FILES IN COBOL. ONE IS FIXED LENGTH RECORDS
ANOTHER ONE IS VARIABLE LENGTH. IF I DECLEAR LRECL OF FIXED
ONE AS 80 AND 2ND RECORD AS 132. WHAT WE NEED TO DECLEAR
LRECL FOR THOSE 2 FILES IN JCL?

Answers were Sorted based on User's Feedback



WE HAVE 2 FILES IN COBOL. ONE IS FIXED LENGTH RECORDS ANOTHER ONE IS VARIABLE LENGTH. IF I DECLEAR..

Answer / narayan

For Fixed block LRECL=8
and for Variable block LRECL=136 (132+4)

Is This Answer Correct ?    21 Yes 5 No

WE HAVE 2 FILES IN COBOL. ONE IS FIXED LENGTH RECORDS ANOTHER ONE IS VARIABLE LENGTH. IF I DECLEAR..

Answer / jagan

Narayan - A small correction LRECL for fixed - 80 and LRECL
for Variable block records is 132+4 = 136 .

Is This Answer Correct ?    11 Yes 0 No

WE HAVE 2 FILES IN COBOL. ONE IS FIXED LENGTH RECORDS ANOTHER ONE IS VARIABLE LENGTH. IF I DECLEAR..

Answer / nag(igate)

i think , for variable block we add only 2 bytes extra not
4 bytes

Is This Answer Correct ?    0 Yes 10 No

WE HAVE 2 FILES IN COBOL. ONE IS FIXED LENGTH RECORDS ANOTHER ONE IS VARIABLE LENGTH. IF I DECLEAR..

Answer / guest

80 and 132

Is This Answer Correct ?    0 Yes 12 No

Post New Answer

More COBOL Interview Questions

What does the IS NUMERIC clause establish ?

2 Answers  


i need a small 3d program using inline and outline.

0 Answers  


What will happen if you code GO BACK instead of STOP RUN in a stand alone COBOL program ?

8 Answers   Arigo Infotech, IBM,


is it possible to rename 01 level?

4 Answers  


RENAME clause takes new SPACE in memory.TRUE or FALSE? a)TRUE 2)FALSE

12 Answers   TCS,


have in 100 records in a flat file i want to move records like 1,3,5,7,9,11,.. to Output file1 and 2,4,6,8,10,12,14 .. records moved to Output file2..Pls Provide real time answer..

5 Answers   TCS,


1) can we display the index?

3 Answers   ADP, IBM,


I've one string with spaces ( I N D I A ). My question is I want remove the spaces & combine in to single string without space (INDIA).How we can write the cobol program & wich options we need to use. Please let me know.

10 Answers   Mascon,


I have a field with data type X(10). I want to perform arithmetic operation on this field? I tried doing it by moving the value into a numeric field. but it didn't work out. I am getting a S0C7 abend. Pls let me know if there is any way of getting this done?

2 Answers   ADP,


How to Write the RESTART Logic Using COBOL?

4 Answers   GalaxE, L&T, Syntel, TCS,


How can you submit a job from COBOL programs?

2 Answers   ITC Infotech,


can we declare s9(9)v9(9) in cobol ? if yes how many bytes it will occupy ?(urgent plz answer it)

13 Answers   CTS,


Categories