01 a pic x(4) value 'abcd'
01 b pic 9(3)
can we move from a to b.if possible what would be stored in
b.
Answer Posted / amjith pillai
01 a pic x(4) value 'abcd'
01 b pic 9(3)
Yes, you can move. Try just a move and display B. you will
get abc.
But if you go for an operation (add, move to comp variable
etc) then you will hit SOC7
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Difference between array and sub-script ?
How do you reference the fixed block file formats from cobol programs
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
What is the default value(s) for an initialize and what keyword allows for an override of the default?
How you can read the file from bottom?
Which mode is used to operate the sequential file?
i want a program using by if, evaluate , string, unstring, perform, occurs?
How do get the result of your program directly on your pc?
what is amode(24), amode(31), rmode(24) and rmode(any)?
how do you reference the variable block file formats from cobol programs
) How do u handle errors in BMS macro
What is the difference between goback, stop run and exit program in cobol?
What are the different rules of SORT operation?
What is the local-storage section?
How to print 10 to 1 if the input have only 10 digit number?