How many bytes do a s9 (7) comp-3 field occupy?



How many bytes do a s9 (7) comp-3 field occupy?..

Answer / gurmeet singh

4

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More COBOL Interview Questions

how to display comp3 variables reply soon ?

4 Answers   Patni,


Write a program to explain size error.

0 Answers  


How can I find the maximum value of a field in a file while reading the file dynamically? without using sort function. Suppose i have a file with fields Timestamp, description, teamname, teamnumber.. i have read the file till end and find the maximun value of timestamp which is not in sorted order.. can we use function max(timestamp)?

1 Answers   CGI,


What is the difference between Call and a Link?

0 Answers  


How do you code Cobol to access a parameter that has been defined in JCL?

3 Answers  






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

0 Answers  


I have 100 records in a file.. i want to sort the records from 5 to 5o... give the syntax...

2 Answers   CTS, DSRC,


i have the job which has written updated 100 records into the table and for 101th record it got abended and i want to start the job again and should wirte from 101th record not from 1st record..how to do it..?

6 Answers  


What will happen if we generate GDG +2 version instead of +1 version?

2 Answers   T systems,


study the following 01 A PIC 99V0 VALUE 5 01 B PIC 9V9 VALUE 6 01 C PIC 99V9 VALUE 2.5 01 D PIC 99 VALUE 3 COMPUTE A ROUNDED B C = A+B*C/D ON SIZE ERROR PERFORM PRINT-ERROR the comments of A.B.C after execution of the above statement are a.A=10 B=0 C=10 b.A=10 B=9.9 C=9.9 c.A=10 B=0 C=9.9 d.A=10 B=6 C=10

4 Answers   TCS,


How do u sort the table for Search ALL? Is it only using ASCENDING KEY IS statement in occurs clause? If the data is input in non ascending order, will the ASC KEY IS automatically sort the data? or will it throw compile time error?

1 Answers   CTS,


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

0 Answers   ADP, Syntel,


Categories