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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In COBOL programming, what is PERFORM? What is VARYING?

670


What are the different rules for performing sort operation?

761


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

3716


input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?

1871


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

716






input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.

1783


What is the use of intialize verb?

746


What are the rules of the move verb?

704


What are all the divisions of a COBOL program?

663


What is length is cobol?

650


what are decleratives in cobol?

1827


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

714


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

661


What is the difference between Call and a Link?

696


2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic

2111