how will u find out 3rd week's 2nd day using occurs ?
Answers were Sorted based on User's Feedback
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 |
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
plz,could any one tell me? what about EBCDIC in cobol?briefly?
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.
Can anyone please give the example of Inline Perform.
Which mode is used to operate the sequential file?
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
what is the diff b/w select stsmt and cursor ?
01 A pic 9(100) find record length of it
What is an in-line perform ?
can we display comp-3 variables. if we want to display what we have to do . give me one example
waht is inspect verb? where it can be in real time?
what are the steps to sort in a cobol program?