how to pass 100 to s9(4) how r they inserted ?
Answers were Sorted based on User's Feedback
Answer / chandru
Numeric data are right justified. So that the value inserted
will be 0100.
| Is This Answer Correct ? | 11 Yes | 0 No |
Answer / rags
we can pass 100 to S9(4) field, S9(4) can store a value
upto 9999.
If the field is S9(4) Comp then it uses 2 bytes
If the field is S9(4) Comp-3, it uses 3 bytes.
This is a Special scenario: here Comp is prefered over comp-
3 due to less space it occupy ( though Comp-3 generally
occupies less space than comp fields)
| Is This Answer Correct ? | 8 Yes | 0 No |
WE HAVE 5 DIFFERENT RECORDING MODE IN COBOL.FIXED, FIXEDBLOCK, VARIABLE, VARIABLEBLOCK AND UNDEFINED. WHAT IS THE DIFFERENCE AMONG ALL AND WHICH TYPE OF FORMAT SHOULD BE USED WHEN
How do you define a variable of comp-1 and comp-2?
Write a program to enter and display the names of students in a class using the occurs clause.
i want to store 20 digits . h will u do it in cobol ?
What guidelines should be followed to write a structured Cobol program?
what are the diferences b/w sub-script and index?
What is SSRANGE, NOSSRANGE ?
Hi all, I have a following requirement to write the cobol program. I have to load the 129 variables from input sequential file which are in excel sheet to the cobol inernal table. and after loading into table i have to compare this data with the business file. here compare means controlling the data whether the format(numeric,alpha) is same in the business file and in the table??? i have the same data in input and business file. could anyone please give me any idea of the logic?// i have all the 129 different variables(129rows,1 column)is there .
Write down the divisions of cobol program?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
which of the following can be used as a check protection symbol a.Z b.S c.* d.+
what is index and how to use two tables using index?