77 WS-AMT PIC ZZZ999.ADD 100 TO WS-AMT WILL RESULT INa) COMPILATION ERRORb) SOC7 ERRORC) NO ERROR

Questions by nirupamkundu

Showing Answers 1 - 8 of 8 Answers

lavanya

  • Jun 2nd, 2006
 

compilation error

  Was this answer useful?  Yes

ATUL BANKE

  • Jun 9th, 2006
 

It will give compilation error becoz data item don't have value clause.

  Was this answer useful?  Yes

kalpana

  • Jul 10th, 2006
 

It will give Compilation Error, because ws-amt is not numeric field so arithmetic operation cannot be possible in ws-amt field

-Kalpana

  Was this answer useful?  Yes

kavitha

  • Sep 25th, 2006
 

It will not show any error. Becos "value" clause is not needed for this variable to show compilation error and the ADD syntax can be used to add value to alphanumeric variable. Alphanumeric variable can handle numeric values (ex. 10, 20) but vice versa cannot happen.

  Was this answer useful?  Yes

kkreddy98

  • Sep 5th, 2007
 

It will give compilation error because WS-AMT is a edit-item and edited items can not be used in arthmetic operations.

Thanks,
Kotireddy k

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions