|
View previous topic :: View next topic
|
| Author |
Message |
Pavankumar.m Warnings : 1 New User
Joined: 28 Nov 2010 Posts: 53 Location: Mumbai
|
|
|
|
Hi,
How to declare ABC PIC 9(3) in assembler. ?
Thanks in advance,
Pavan Kumar.M |
|
| Back to top |
|
 |
Robert Sample
Global Moderator

Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
| Code: |
ABC DS CL3
or
ABC DS XL3 |
Either of these is the equivalent. However, note that COBOL does certain conversions that Assembler will not (for example, if X contains 'ABC' and you move it in COBOL to ABC then ABC contains 123 since the sign zones are forced to match the PICTURE; both Assembler variables would contain 'ABC' since zone changes will not be done). |
|
| Back to top |
|
 |
Pavankumar.m Warnings : 1 New User
Joined: 28 Nov 2010 Posts: 53 Location: Mumbai
|
|
|
|
Thank you so much Robert  |
|
| Back to top |
|
 |
|
|