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 you will define variables length in cobol.

Answers were Sorted based on User's Feedback



how you will define variables length in cobol...

Answer / shamina

We can define variable length in cobol in the File section
as :
RECORDING MODE IS V OR VB ( where V stands for variable and
VB stands for variable block )

Is This Answer Correct ?    3 Yes 0 No

how you will define variables length in cobol...

Answer / sree

The variable length in cobol can be defined as s9(4) usage
comp.

Is This Answer Correct ?    1 Yes 0 No

how you will define variables length in cobol...

Answer / app

file section.
fd recseqv
recording mode is v
record varying from 3 to 80 characters.
01 recseqv-fd-record pic x
occurs 3 to 80 times
depending on ws-record-length.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More COBOL Interview Questions

WHY LRECL NEEDS TO BE 4 EXTRA THEN THE COBOL FILE LENGTH & WHAT IT CONTAIN IN THAT LENGTH

2 Answers   Cap Gemini,


s9(18) comp-3:: What is the size of memory it takes internally?

4 Answers  


What are VS COBOL 11 special features?

1 Answers  


How to display string in the reverse order using occurs clause?

4 Answers  


file status 00 is checked after opening the file or reading the file

4 Answers   John Deere,


how to move the records from file to array table. give with code example

0 Answers   ADP, Syntel,


how do you reference the esds vsam file formats from cobol programs

0 Answers  


how to submit a jcl by cobol program. clear me with an example.

3 Answers   HCL,


How you can characterize tables in cobol?

0 Answers  


Hi all, I have a following requirement to write the cobol program. I have to load the 129 variables from input sequential file which are in excel sheet to the cobol inernal table. and after loading into table i have to compare this data with the business file. here compare means controlling the data whether the format(numeric,alpha) is same in the business file and in the table??? i have the same data in input and business file. could anyone please give me any idea of the logic?// i have all the 129 different variables(129rows,1 column)is there .

4 Answers   IBM, Syntel, TCS,


What do you understand by passing by reference and passing by content?

1 Answers  


What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

0 Answers  


Categories