a pic s9(4) comp
b pic s9(4) comp-3
c ????????????????
d ????????????????
move a to c
add a+B giving d.
what is ur declaration for c,d?
Answers were Sorted based on User's Feedback
Answer / mithlesh
since A is the comp field it takes 2 bytes space and B is
the comp-3 field it takes 3 bytes .
Now for the the declaration C and D they must be declaraed
into s9(4) and S9(5) pic caluse.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / lu
before answering this questions, i say "you need to code
PROPERLY, CORRECTLY" ok ....you add S9() comp to S9() comp.
comp-3 with comp-3...ok...
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / vinodquestion
I dont know what you need mr. LU. My question is in place of '?' what do you code for that manipulations.. i.e give declarations for c,d and it satisfies both move,add operations.. if it is not possible give me your conclusion...
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / abhay
C should be declared as S9(04)
D should be declared as s(05)
| Is This Answer Correct ? | 0 Yes | 0 No |
how will you define vsam file in select clause?
i friends greetings to the day...!!! I face a quation like"while runnig the programe every day i have to access the previous day updates only...!! Ex:- Let last day 100 customers took bank account i have to select those customers only.."
) How do you access the migrate the data from production region to development region
How do u initialize an array?
how many bytes does s9(7)COMP-3 field occupies?
subscript and index r not coded in u r application program what will happen?
What is Control Break processing ?
Can we use goto statement in inline_perform ?
What is the difference between PIC 9.99 and 9v99 in COBOL?
0 Answers SwanSoft Technologies,
What is the maximum size of a 01 level item in COBOL I? in COBOL II?
what is label record is standard or omitted in file description of data division?
How To Separate The Numerics From An Alphanumric Data Item Which Contains Both Alphabates And Numerics ?