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.

Thanks

Bob Cagle
IT Manager
Lynk, Inc.

-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of RPGLIST
Sent: Monday, October 20, 2014 2:08 PM
To: wdsci-l@xxxxxxxxxxxx
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.

Dutch

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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 [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.