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

I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.

1121


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

5065


What is the default value(s) for an initialize and what keyword allows for an override of the default?

697


How to know whether the module is dynamical or statistical?

658


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

711






Define static linking and dynamic linking.

669


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

1658


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

766


What is the difference between next sentence and continue in cobol programing language?

712


Which mode is used to operate the sequential file?

672


What are different data types in cobol?

695


Difference between array and sub-script ?

1169


how to move the records from file to array table. give with code example

2223


What are declaratives and what are their uses in cobol?

714


Difference between cobol and cobol-ii?

715