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 |
What is the file organization clause ?
What will happen if we move SPACES to numeric field and ZEROES to alphabetic field?
How to pass return codes from cobol to jcl?
What are all the divisions of a COBOL program?
Explain how to differentiate call by context by comparing it to other calls?
Can you REWRITE a record in an ESDS file? Can you DELETE a record from it?
6 Answers ABC, IBM, Mphasis, Wipro,
What is JOBLIB and STEPLIB in JCL? what is the purpose of using it?
Consider the following: 77 A PIC 9(10) 77 B PIC 9(10) 77 C PIC 9(19) MULTIPLY AB BY B GIVING C Which of the following is true ? (a) The execution of the above may result in size error. (b) The execution of the above will result in size error. (c) The definition of C is invalid resulting in compilation error. (d) No error will be thee and the program would proceed correctly.
How many maximum number of procedures can we write in one COBOL program?
How will you find the currepted records in a file
How can we increase the size of an existing PDS to include more no. of modules. I tried the answer posted by Jagan(TSO PDS 'pds name') but did not find it working. The answer posted by kamal i know very well. Please suggest me a answer so that we don't need to delete the existing PDS and still we can change the size as well.
What is the default value of DISP for temp datasets