From the manual, these are both valid:
DCL-S salary PACKED(5 : 2);
DCL-S age PACKED(3);
I would also question if you have the correct PTFs applied.
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of RPGLIST
Sent: Monday, October 20, 2014 2:08 PM
Subject: [WDSCI-L] What is wrong with with definition
I started playing around with "totally free" and I was defining a standalone variable like:
dcl-s xCmlCl# packed(9);
I also tried ...packed(9:0); which did not work either.
I'm starting at position 8.
Its generating an error and when I highlight it it says "Unexpected Token"
I'm sure its something really stupid but even after reading Jon Paris'
article I still can't figure this out.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.