How do you define a variable of COMP-1? COMP-2?
Answers were Sorted based on User's Feedback
Answer / pal
77 A COMP-1.
77 B COMP-2.
because we can't use PIC clause in comp-1 & comp-2
| Is This Answer Correct ? | 42 Yes | 8 No |
Answer / paddu
01 a usage comp-1.
01 b usage cpmp-2.
this way to define
| Is This Answer Correct ? | 12 Yes | 1 No |
What is length is cobol?
How to display the index.(displacement from an array)
How many bytes do a s9 (7) comp-3 field occupy?
how to transfer the file from pc to mainframe??
What is redefines clause in COBOL?
. How do we cast a variable in COBOL
Why occurs cannot be used in 01 level in COBOL?
what is the difference between implicit and explicit scope terminator with example?
soc-7 is a bad data,invalid data. when ever we are moving the alphabets in the position of numeric then we got this abend. so my question is if o1 ws-data pic 9(1) value passing the alphabet some x. then we got soc-7 or not? i want clarification ?
9(2).99 how many bytes take? Why . consider as a byte?
I have a occurs for 100 times but it has executed 101 time what could be the reason?
what is lrec=f,what is difference between f,fb,v,vb?what is default value?how do we came to know that records are in f,fb,v,vb?