I hav vari declaration like.....
77 a pic s9(9).99.
77 b pic s9(9).99 comp.
77 c pic s9(9).99 comp-3.
if i use MOVE 123456789.99 to a,b,c what happen every one
working fine ?
Answer Posted / sri
comp does not work fine becoz it does not support decimal format
Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
What are literals?
Give some examples of command terminators?
Why did you choose to work with ibm mainframe cobol programming?
What is link edit in cobol?
What is the Purpose of Pointer in the string?
How to print 10 to 1 if the input have only 10 digit number?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
Differentiate between structured cobol programming and object-oriented cobol programming.
What is the compute verb? How is it used?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
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.
What are declaratives and what are their uses in cobol?
Can we change the password using ALTER? anyone tried and changed?