|
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:a
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
TAG statement, or I specs, you can put them in a /COPY file.ability
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
to add a Footer to each email sent using an IFS stream file.mailing list
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
To post a message email: RPG400-L@xxxxxxxxxxxxquestions.
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
link: http://amzn.to/2dEadiD
Help support midrange.com by shopping at amazon.com with our affiliate
--
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 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.