Not shure if this helps, but try COPY DDR-ALL-FORMAT .... PREFIX BY.
More help if you send a copy of your program, i suppose.
Nice holidays.
D


Domenico Finucci
P Print this mail only if necessary



-----Messaggio originale-----
Da: cobol400-l-bounces@xxxxxxxxxxxx [mailto:cobol400-l-bounces@xxxxxxxxxxxx] Per conto di Robert Munday
Inviato: martedì 24 giugno 2008 17.36
A: COBOL
Oggetto: [COBOL400-L] Externally Defined Files

Greetings from South Carolina.

I am adding a file to a program and thought it would be great if I could define my file with the external fields defined with ALIAS data names. I was trying to avoid creating needless duplicate input specs and thought I could rely on the external definitions. That appears not to be working out for me.

Are the fields in an externally-described file good for anything inside my COBOL program? Will I end up having to create input specs and copy my format into those specs? Surely there must be an easier way.

I'd like to solve this one and turn in a completed program before my gig ends on Friday.



Thanks,


Robert Munday
Munday Software Consultants
Montgomery, AL
on assignment in Columbia, SC
soon to be somewhere else...


--
This is the COBOL Programming on the iSeries/AS400 (COBOL400-L) mailing list To post a message email: COBOL400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/cobol400-l
or email: COBOL400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/cobol400-l.

Il presente messaggio di posta elettronica e ogni eventuale documento a quest'ultimo allegato hanno carattere riservato e sono ad esclusivo utilizzo del destinatario indicato in indirizzo. Qualora non foste il destinatario del presente messaggio Vi preghiamo di volerci avvertire immediatamente tramite posta elettronica o telefonicamente e di cancellare il presente messaggio e ogni documento ad esso allegato dal Vostro sistema. E' vietata la duplicazione o l'utilizzo per qualunque fine del presente messaggio e di ogni documento ad esso allegato cosi come la relativa divulgazione, distribuzione o inoltro a terzi senza l'espressa autorizzazione del mittente. Il mittente, in ragione del mezzo di trasmissione utilizzato, non assume alcuna responsabilità in merito alla segretezza e riservatezza delle informazioni contenute nel presente messaggio e nei relativi allegati.

******************************************************************************
This message and any attachments (the "message") are confidential and intended solely for the addressees.
Any unauthorised use or dissemination is prohibited.
E-mails are susceptible to alteration.
Fiditalia shall not be liable for the message if altered, changed or falsified.

This thread ...

Replies:

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

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