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



Perhaps you have already figured this out, but does the asterisk on the EXTNAME line make no difference here?
It seems to me to be commented out.

hth,

Dave B

<rob@xxxxxxxxx> 03/05/08 3:00 PM >>>
Can't seem to compile this program with a printer file in the EXTNAME in
the data structure

R JEFFR
FIELD1 5A 1
FIELD2 5A 10


FJEFFPRT O E PRINTER PREFIX('JEFFOUT.')
D* jeffout E DS EXTNAME(JEFFPRT) QUALIFIED
D JEFFOUT DS QUALIFIED
D FIELD1 5A
D FIELD2 5A
/FREE
jeffout.field1='bubba';
jeffout.field2='billy';
write jeffr;
*inlr=*on;
return;
/end-free

When I try, I get
RNS9308: Compilation stopped. Severity 30 errors found in program.
FJEFFPRT O E PRINTER PREFIX('JEFFOUT.')
RNF7030: The name or indicator JEFFOUT... is not defined.
D jeffout E DS EXTNAME(JEFFPRT) QUALIFIED
RNF7030: The name or indicator JEFFOUT... is not defined.
RNF3530: Data structure JEFFOUT has no valid subfields.
D*JEFFOUT DS QUALIFIED
D* FIELD1 5A
D* FIELD2 5A
/FREE
RNF7503: Expression contains an operand that is not defined.
RNF7030: The name or indicator FIELD1 is not defined.
jeffout.field1='bubba';
RNF7503: Expression contains an operand that is not defined.
RNF7030: The name or indicator FIELD2 is not defined.
jeffout.field2='billy';
write jeffr;
*inlr=*on;
return;
/end-free
Rob Berendt

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