Hope it works for you.

The idea is that each source has its own control over format - without that you couldn't share a fixed form /Copy member with a **free program.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com

On Jul 16, 2019, at 11:44 AM, Marco Facchinetti <marco.facchinetti@xxxxxxxxx> wrote:

Il giorno mar 16 lug 2019 alle ore 17:40 Jon Paris <jon.paris@xxxxxxxxxxxxxx>
ha scritto:

Thanks Marco - that is pretty much what I have.

P.S. I think you are wrong about /Copy - but you must have **Free at the
start of the copy member if the code in it is freed-form.


Thanks Jon I didn't know. I'll try asap.



Jon Paris

www.partner400.com
www.SystemiDeveloper.com

On Jul 16, 2019, at 11:12 AM, Marco Facchinetti <
marco.facchinetti@xxxxxxxxx> wrote:

I don't know but this is our standard i/o definition:

d In_mupa25in...
d ds
/copy qcpylesrc,mudintric
d P likeds(t_Parametri_mupa25in)

d Out_mupa25in...
d ds
/copy qcpylesrc,mudintris
d P likeds(t_Parametri_mupa25in)
d G_LENGTH 10i 0
d G likeds(t_Grid_mupa25in) dim(100)

....
dmupa25in...
d pr extpgm('MUPA25IN')

d Richiesta likeds(in_mupa25in)
d Risposta likeds(out_mupa25in)

As you can see we use integers.

We cannot use free form because /copy are not allowed in between Dcl-Ds
End-Ds.

HTH
--
Marco Facchinetti

Mr S.r.l.

Tel. 035 962885
Cel. 393 9620498

Skype: facchinettimarco



--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.


--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.