is it possible to declare index in cobol program?
if it is not why its tell me pls
Answer Posted / kiran
yes it is possible
ex PERFORM TEST AFTER VARYING WS-INDEX FROM
1 BY 1 UNTIL WS-INDEX = 10
DISPLAY "WS-INDEX is now equal to " WS-INDEX
END-PERFORM
| Is This Answer Correct ? | 0 Yes | 6 No |
Post New Answer View All Answers
How can you get the ksds file records into your cobol program?
Which division and paragraphs are mandatory for a COBOL program?
Define cobol?
What is link edit in cobol?
What are the different types of condition in cobol and write their forms.
What is rmode(any) ?
what is the use of outrecord?
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.
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
how can i see junk values in dclgen or in hostvariable of comp ?
What is the use of intialize verb?
What are the different rules of SORT operation?
What is amode(24)?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.