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



The basic rule for **Free is that each and every source member has its own format.

So - if a **Free includes a /Copy the copy source is assumed to be semi-free (i.e. NOT starting in position 1) _unless_ it too starts with **Free.

So the example you used will work just fine Brad.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com

On Jun 16, 2018, at 5:37 PM, Bradley Stone <bvstone@xxxxxxxxx> wrote:

I have't tried this yet, but lets say you're using a 3rd party package
with fixed format declarations in a /copy member.

You're trying to keep things mostly free format... will this work? I
haven't tried to dug into it too much yet... Just curious.

**FREE
/copy qcopysrc,imports <---- this is fixed format
dcl-s user char(256) INZ('demo123');
dcl-s password char(256) INZ('demo123');

From the docs:

- When you code **FREE in line 1, the entire source member may only
contain free-form code. If you need any fixed-form statements, such as a
TAG statement, or I specs, you can put them in a /COPY file.


Does this mean it "should" work with fixed format /copy members?

Bradley V. Stone
www.bvstools.com
MAILTOOL Benefit #15 <https://www.bvstools.com/mailtool.html>: The ability
to add a Footer to each email sent using an IFS stream file.
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: http://amzn.to/2dEadiD


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.