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

Tommy Holden

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


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
The Raymond Corporation

-----Original Message-----
From: cobol400-l-bounces@xxxxxxxxxxxx
[mailto:cobol400-l-bounces@xxxxxxxxxxxx] On Behalf Of
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:


The corresponding data division code:

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)

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,
or email: COBOL400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives

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


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

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