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


Please Help Members By Posting Answers For Below Questions

What are literals?

632


Give some examples of command terminators?

759


Why did you choose to work with ibm mainframe cobol programming?

631


What is link edit in cobol?

774


What is the Purpose of Pointer in the string?

643






How to print 10 to 1 if the input have only 10 digit number?

813


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

2734


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.

934


Differentiate between structured cobol programming and object-oriented cobol programming.

669


What is the compute verb? How is it used?

663


What is the Purpose of POINTER Phrase in STRING command in COBOL?

723


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

744


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.

2014


What are declaratives and what are their uses in cobol?

714


Can we change the password using ALTER? anyone tried and changed?

1550