× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi all,

In another RPG thread I learned to create an explicit D spec if I don't
want to get my integer file fields replaced by packed definitions.
http://archive.midrange.com/rpg400-l/201611/msg00129.html
The outline view keeps showing the integer fields as packed. Is that
working as designed, or might it be incorrect?

Regards,
-Arco

The RPG example:

h dftactgrp(*no)
h extbinint(*yes)

// file specifications
ftestmas uf a e k disk prefix(tst_) alias
*
d e ds extname('TESTMAS')
d prefix(tst_) alias
d testDS_t...
d ds template
d qualified
d id1 like(tst_Test_ID)

/free
*inlr = *on ;
return ;
/end-free

The example table is defined as:

CREATE TABLE
Test_Master
(
Test_ID FOR TESTID INTEGER,
Sortcode NCHAR(16) NOT NULL DEFAULT ''
)
RCDFMT TESTMASRF;

RENAME TABLE Test_Master
TO SYSTEM NAME TESTMAS;

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

This mailing list archive is Copyright 1997-2024 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.