What is the difference between index and subscript?
Answer Posted / harish
subscript normal variable dec in w-s section.
index cant
subscript can be accepted or displayed
for index set index up by value down by value..
subscript- arithmetic operation is possible..
subscript refers to array occurance,
index refers to the displacement of start of the array
pls correct me if anything wrong
HARISH POOMGAME SHIVAPPA(hassan,karnataka)
NIIT TECHNOLOGY
KOLKATA
| Is This Answer Correct ? | 17 Yes | 5 No |
Post New Answer View All Answers
How do you reference the fixed block file formats from cobol programs
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.
How do you reference the following file formats from cobol programs?
What are the pertinent COBOL
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
What is link edit in cobol?
Which mode is used to operate the sequential file?
Name some of the examples of COBOl 11?
What is the difference between structured cobol programming and object alternativelyiented cobol?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
) How do u handle errors in BMS macro?
what is the difference between COBOL2 AND COBOL390?
How arrays can be defined in COBOL?