Thanks all. Now for the dirty work...

Thanks,
Tommy Holden



From: Egger Jörg (KIDK 3) <joerg.egger@xxxxxxxxxxxxxxxxx>
To: "COBOL Programming on the iSeries/AS400" <cobol400-l@xxxxxxxxxxxx>
Date: 10/14/2010 02:00 AM
Subject: Re: [COBOL400-L] copy statement question...
Sent by: cobol400-l-bounces@xxxxxxxxxxxx



Hi

Seems that CBLLE is accepting this type of copy but not CBL.
And the file can be a physical file if the structure is ok.

COPY SELECTEXUH IASTP089 is not correct but the ILE compiler assumes the
OF.
SEU trows an error as well but it can be ignored.

Beni

-----Original Message-----
From: cobol400-l-bounces@xxxxxxxxxxxx [
mailto:cobol400-l-bounces@xxxxxxxxxxxx] On Behalf Of
Tommy.Holden@xxxxxxxxxxxxxxxxxxxxx
Sent: 13 October 2010 21:39
To: COBOL Programming on the iSeries/AS400
Subject: Re: [COBOL400-L] copy statement question...

That's the fun part of it all. This is a 3rd party package we don't have
the source code for the entire package. The IASTP089 is a PF-DTA (not
SRC) and it's compiled on the fly during the process run. So I'm working
from the documentation for creating a program that uses their "API" hook.
From everything I read I had pretty much determined that it was COPY
MEMBER OF FILE (but never seen it without the OF before). So this should
be interesting to say the least. What's worse is trying to wrap my brain
around all of this to put into RPG (we have no COBOL programmers, heck i'm

the ONLY programmer on this platform!) the linkage, etc is no problem
that copy statement just threw me for a loop. I guess i'll just have to
wing it...

Thanks,
Tommy Holden



From: Winchester Terry <terry.winchester@xxxxxxxxxxxxxxx>
To: "'COBOL Programming on the iSeries/AS400'"
<cobol400-l@xxxxxxxxxxxx>
Date: 10/13/2010 02:32 PM
Subject: Re: [COBOL400-L] copy statement question...
Sent by: cobol400-l-bounces@xxxxxxxxxxxx



Tommy,

They are probably using a copybook in the File-Control section.
The member name is SELECTEXUH and the source file is IASTP089.

When you compile the program and look at the post list you'll
spot it for sure :)

Terry Winchester
Programmer/Analyst
________________________________
The Raymond Corporation
terry.winchester@xxxxxxxxxxxxxxx
--

-----Original Message-----
From: cobol400-l-bounces@xxxxxxxxxxxx
[mailto:cobol400-l-bounces@xxxxxxxxxxxx] On Behalf Of
Tommy.Holden@xxxxxxxxxxxxxxxxxxxxx
Sent: Wednesday, October 13, 2010 2:57 PM
To: cobol400-l@xxxxxxxxxxxx
Subject: [COBOL400-L] copy statement question...

Ok i've seen COPY statements many times but this is the first
time i've
run into this before (and try googling COPY SELECT...)

The statement is:

COPY SELECTEXUH IASTP089

The corresponding data division code:
FD EXUHFILE
LABEL RECORDS STANDARD
COPY FDEXUH

Can someone tell me in plain English exactly what this is
doing? (bear in
mind i'm an RPG guy..not COBOL so simple is better)

Thanks,
Tommy Holden
--
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.



Confidentiality Notice:

The preceding e-mail message (including any attachments) contains
information that may be confidential, protected by applicable legal
privileges, or constitute non-public information. It is intended to be
conveyed only to the designated recipient(s). If you are not an intended
recipient of this message, please notify the sender by replying to this
message and then delete it from your system. Use, dissemination,
distribution or reproduction of this message by unintended recipients is
not authorized and may be unlawful.




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