can we declare s9(9)v9(9) in cobol ? if yes how many bytes
it will occupy ?(urgent plz answer it)
Answers were Sorted based on User's Feedback
Answer / ramlal
before decimal point value stored in 9byted decimal point
does not occupy any space after decimal point total value
occupies only 1byte totally 9+0+1=10bytes.
| Is This Answer Correct ? | 4 Yes | 6 No |
Answer / vikash
we can declare.It will take total bytes based on formula=(n/2+1).
Thus, 9+9=18
Here n=18,
Thus number of bytes=18/2+1=10 bytes
| Is This Answer Correct ? | 1 Yes | 3 No |
The order of precedence of arithmetic operators in an expression can be overridden with the use of (a) [] (b) () (c) {} (d) Any of the above
What are the different ways to run a COBOL DB2 program using JCL?
Is this allowed? 01 WS-TABLE. 03 FILLER-X PIC X(5) VALUE 'AAAAA'. 03 WS-EX REDEFINES FILLER-X OCCURS 5 TIMES PIC X(1). can redefines clause be used with occurs clause?
What is the maximum length of a field you can define using COMP-3 in COBOL?
give the examples for strings and unstrings in cobol
input:-AABBCCDDEFGHIIJ output:- ABCDEFGHIJ Here in input we hav the duplicate characters i.e repeating characters.SO we should eliminate the duplicate characters and should display the output in ascending order.
what is the use of outrecord?
What do you understand by passing by reference and passing by content?
can we use the two 01 level in file discription ?
) How do u handle errors in BMS macro?
where did you see the information regarding abend codes in jcl?
Under which scenario you would go for a static call as opposed to dynamic call?