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
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.
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.
What is the default value(s) for an initialize and what keyword allows for an override of the default?
How to know whether the module is dynamical or statistical?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
Define static linking and dynamic linking.
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
How are the next sentence and continue different from each other?
What is the difference between next sentence and continue in cobol programing language?
Which mode is used to operate the sequential file?
What are different data types in cobol?
Difference between array and sub-script ?
how to move the records from file to array table. give with code example
What are declaratives and what are their uses in cobol?
Difference between cobol and cobol-ii?