how will u find out 3rd week's 2nd day using occurs ?

Answers were Sorted based on User's Feedback



how will u find out 3rd week's 2nd day using occurs ?..

Answer / ginni

Sweta you cant use WS-TEMP because only the field_name in
the last occurs clause or an element in a level below it
can be used to refer to the table.

So it will be WS-DAY (3,2).

Is This Answer Correct ?    22 Yes 1 No

how will u find out 3rd week's 2nd day using occurs ?..

Answer / chinni

yes ginni is correct

Is This Answer Correct ?    6 Yes 1 No

how will u find out 3rd week's 2nd day using occurs ?..

Answer / shweta

01 WS-TEMP VALUE ZEROS.
03 WS-WEEK OCCURS 5 TIMES
05 WS-DAY PIC 9 OCCURS 7 TIMES


THE THIRD WEEK AND 2ND DAY CAN BE FOUND BY WS-TEMP(3,2)

Is This Answer Correct ?    3 Yes 9 No

Post New Answer

More COBOL Interview Questions

i friends greetings to the day...!!! I face a quation like"while runnig the programe every day i have to access the previous day updates only...!! Ex:- Let last day 100 customers took bank account i have to select those customers only.."

4 Answers   CSC,


what is the minimum number of lines a Cobol program should have to successfully compile and run

11 Answers   ABC, Societe Generale,


Please let me know at which Scenarios we will go for STATIC call or DYNAMIC

3 Answers   IBM,


How will you find the currepted records in a file

2 Answers  


What is the difference between perform … with test after and perform … with test before?

0 Answers  






i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

0 Answers  


If we use GO BACK instead of STOP RUN in cobol?

2 Answers   Temenos,


have in 100 records in a file i want to move only matched records to one output_file1 and nonmathed records are moved to another output_file2 ... any one can provide logic code

3 Answers  


If I want to increase the Limit in GDG. What should I do?

1 Answers   IBM,


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

0 Answers   EDS,


If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly

0 Answers  


Write a cobol program making use of the redefine clause.

0 Answers  


Categories