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

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

760


i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

1767


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

704


explain sorting techniques in cobol program?

686


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

818






In COBOL, what is the different between index and subscript?

753


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

6821


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.

1111


What is the difference between external and global variables in COBOL?

811


What are the pertinent COBOL

2041


how do you reference the rrds file formats from cobol programs

792


How do you reference the following file formats from cobol programs?

693


What are various search techniques in cobol? Explain.

641


IF I mention stop run in CICS what happens?

1891


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?

695