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
How are the next sentence and continue different from each other?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
explain sorting techniques in cobol program?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
In COBOL, what is the different between index and subscript?
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?
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.
What is the difference between external and global variables in COBOL?
What are the pertinent COBOL
how do you reference the rrds file formats from cobol programs
How do you reference the following file formats from cobol programs?
What are various search techniques in cobol? Explain.
IF I mention stop run in CICS what happens?
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?