×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Hi Jeff,

Even in fixed form, an integer of 4,0 wouldn't be allowed so your dilemna
isn't restricted to free-form.

Others with more knowledge might very well correct me if I'm wrong but my
notes have the following:

int(3) ranges from -128 to 127
int(5) ranges from -32768 to 32767
int(10) ranges from -2147483648 to 2147483647

Cheers,

Yours truly,

Glenn Gundermann
Email: glenn.gundermann@xxxxxxxxx
Work: (416) 675-9200 ext. 89224
Cell: (416) 317-3144


On 9 August 2016 at 15:17, Jeff Crosby <jlcrosby@xxxxxxxxxxxxxxxx> wrote:

Having a brain fart.

I want a fully freeform file information DS to get the number of records,
something like this:

dcl-ds dsFile;
NumRcds Int(?) Pos(156);
end-Ds;

The RPG reference has it in fixed form, like this:

D NUM_RCDS 156 159I 0

I can't define Int(4) because it says that's not a valid length for Int().

What am I missing?

Thanks.


--


Jeff Crosby
VP Information Systems
UniPro FoodService/Dilgard
P.O. Box 13369
Ft. Wayne, IN 46868-3369
260-422-7531
www.dilgardfoods.com

The opinions expressed are my own and not necessarily the opinion of my
company. Unless I say so.


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-2026 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.