Answer Posted / pandu
hi i will give you one eg
x1 pic x(10)
x2 pic 9(4)
i want to move x1 to x2 but it is not possible becoz how
can we send the alpha -numeric data in to numeric. at that
time Soc7 will raise. but it will possible if the alpha-
numeric data is only numeric data i.e alpha numeric means
combination of A-Z and 0-9 if we send the digits to digits
it is no problem
Kindly tell me if answer is wrong? i will waiting for reply.
| Is This Answer Correct ? | 3 Yes | 3 No |
Post New Answer View All Answers
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
Name some of the examples of COBOl 11?
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?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
What is the problem of ordered sequential files access?
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 get the data to code the BMS macro?
) how do u code after getting data?
What is redefines clause in COBOL?
What is length is cobol?
What is the difference between binary search and sequential search?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
In COBOL, what is the different between index and subscript?
what is the use of outrecord?
Name the divisions, which are available in a cobol program?