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

How do get the result of your program directly on your pc?

1874


Which Search verb is equivalent to PERFORM…VARYING?

677


Write the code implementing the perform … varying.

638


What is length is cobol?

641


Can you please let me know the centre name of INS certification in Kolkata.

1709






What is a SSRANGE and NOSSRANGE?

813


What is redefines clause in COBOL?

842


Explain how to differentiate call by context by comparing it to other calls?

680


Are you comfortable in cobol or jcl?

634


Discuss about changing dataset name in proc.

757


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

697


Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks

2326


what is search and searchall?what is the diffrence between them?give an best example?

5538


What is report-item in COBOL?

702


Mention the guidelines to write a structured cobol program?

603