01 a pic s9(5) value '-12345' how it will be stored

Answer Posted / shekhar

as from -1 to -9 uses from j to r....
and signed trailing is default...
so the ans is 1234n....

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is difference between cobol and cobol/400

21546


Explain how you can characterize tables in cobol?

634


Give some examples of command terminators?

749


What are different data types in cobol?

677


What is the LINKAGE SECTION used in COBOL?

883






How are the next sentence and continue different from each other?

753


how do you reference the esds vsam file formats from cobol programs

625


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

802


What are the different rules for performing sort operation?

753


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

702


What is rmode(any) ?

676


Write a cobol program making use of the redefine clause.

720


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 ......

10542


How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?

687


What is the problem of ordered sequential files access?

690