How many variables can be declared in w-s section.?

Answers were Sorted based on User's Feedback



How many variables can be declared in w-s section.?..

Answer / samiuddin

16777215

Is This Answer Correct ?    2 Yes 0 No

How many variables can be declared in w-s section.?..

Answer / raja murugesan

am not sure about it. Any written proof in any cobol tutorial

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More COBOL Interview Questions

is it possible to declare index in cobol program? if it is not why its tell me pls

3 Answers  


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?

4 Answers   iGate,


soc-7 is a bad data,invalid data. when ever we are moving the alphabets in the position of numeric then we got this abend. so my question is if o1 ws-data pic 9(1) value passing the alphabet some x. then we got soc-7 or not? i want clarification ?

7 Answers   CitiGroup, IBM,


The following entries appear in the WORKING-STORAGE SECTION: 01 DATE-TODAY. 05 YY PIC XX VALUE "90". 05 MM PIC XX VALUE "12". 05 DD PIC XX VALUE :31". 01 DATE-EDIT PIC XX/XX/XX. MOVE DATE-TODAY TO DATE-EDIT. (a) 901231 (b) 90/12/31 (c) 31/12/90 (d) 311290

4 Answers   TCS,


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

4 Answers   John Deere,






How to read records in reverse order in flat file? I know we can do it by reading all records into an array.... Then read records in reverse order by using subscript or index but can any body give me the exact code.

5 Answers   TCS,


how can u pass the values into db2 values from cobol ?

3 Answers   CTS,


Can you REWRITE a record in an ESDS file? Can you DELETE a record from it?

6 Answers   ABC, IBM, Mphasis, Wipro,


How do you define a sort file in JCL that runs the COBOL program?

6 Answers   Syntel,


how do u list the abended jobs?

1 Answers   IBM,


I have a seq file with different fields one field is address with pic x(50) as input in a cobol program. In address there is 'PUNE' at any different positions in the address field ( form 1 t0 50) . My requirement is select the fields with address 'PUNE' by using cobol. Please suggest

2 Answers   IBM,


How do u initialize an array?

2 Answers   CTS,


Categories