Hi Buck,
I pasted your source into my Rdi and it worked fine.
Which version of Rdi are you using?
It needs to be 9.0.1 or later.
Regards,
Edmund (E.H.) Reinhardt
Technical Architect for Rational Developer for i
Phone: 1-905-413-3125 | Home: 1-905-854-6195
E-mail: edmund.reinhardt@xxxxxxxxxx
RDi YouTube: 8200 Warden Ave
www.youtube.com/user/IBMRational#g/c/62DF24D5BCD43501 Markham, ON L6G 1C7
Find me on: Canada
From: Bob Cagle <bcagle@xxxxxxxxxxx>
To: "Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries" <wdsci-l@xxxxxxxxxxxx>
Date: 20/10/2014 09:36 PM
Subject: Re: [WDSCI-L] What is wrong with with definition
Sent by: "WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxx>
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
--
This is the Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
http://archive.midrange.com/wdsci-l.
As an Amazon Associate we earn from qualifying purchases.