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

Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks

0 Answers  


plz,could any one tell me? what about EBCDIC in cobol?briefly?

1 Answers  


I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.

0 Answers   Cap Gemini,


Can anyone please give the example of Inline Perform.

6 Answers   TCS,


Which mode is used to operate the sequential file?

0 Answers  


If there are two files one with 100 records and other with 101 records. we have to find out the one record that is the odd man out . What are the steps to do it

7 Answers   BirlaSoft,


what is the diff b/w select stsmt and cursor ?

2 Answers  


01 A pic 9(100) find record length of it

6 Answers   TCS,


What is an in-line perform ?

4 Answers   Accenture,


can we display comp-3 variables. if we want to display what we have to do . give me one example

6 Answers   CGI, Deloitte,


waht is inspect verb? where it can be in real time?

1 Answers   Patni,


what are the steps to sort in a cobol program?

2 Answers   Patni,


Categories