I want to declare a field with data type Double in my COBOL
program. how shall i do that ?
Answer Posted / sri
9(X) V99 or 9(X) V(Y)
Where X and Y are integers.
Is This Answer Correct ? | 3 Yes | 4 No |
Post New Answer View All Answers
In COBOL, what is the different between index and subscript?
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
Explain the configuration section of a cobol program with examples of syntax.
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
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.
State the various causes of s0c1, s0c5 and s0c7.
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
How many sections are there in data division in COBOL?
Give some examples of command terminators?
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
What is amode(31)
how do you reference the rrds file formats from cobol programs