× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I was hoping to avoid doing that.

-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Jon Paris
Sent: Monday, November 25, 2024 1:54 PM
To: RPG programming on the IBM i (AS/400 and iSeries) <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: External Re: Dup SDS

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.

The normal way to deal with this would be to wrap the relevant code sections in IF DEFINED blocks so that they could be skipped. The problem is that you'd need to add the DEFINEs to the vendor copy book too.

Can't think of a way to do it without creating a second version of your copy book that omits all the components defined by the vendor.


Jon Paris
Jon.Paris@xxxxxxxxxxxxxx



On Nov 25, 2024, at 11:13 AM, (WalzCraft) Jerry Forss <JForss@xxxxxxxxxxxxx> wrote:

Hello All

I am writing an interface pgm to a vendor package we have.
I have a standard service pgm binding directory and copy book (APIBD and APICP) that I use everywhere and have several standard routines.

My problem is that when I interface with the vendor product, they also have a copy book that contain the SDS, which make my pgm fail to compile because of it being duplicate.

I want (need) both in my pgm.
Is there a way to rename mine? I want to use many of the modules in my service pgm.

BndDir('APIBD')


//
======================================================================
===============
// Copy Source
//
======================================================================
===============

/Copy C3/QRPGLESRC,C3RC0003
/Include Utilities/Src,APICB

515+
516+// ------------------------------------------------------------------------------------
517+// Copy Data Structures
518+// ------------------------------------------------------------------------------------
519+
520+// User and Program Name
521+Dcl-ds *N PSDS;
======> aaaa
*RNF3511 40 a 002100+ Program-status-data structure is already defined; defaults UTILITIES/SRC(APICB)
to blank.
522+ Program *Proc;
======> aaaaa
*RNF3308 20 a 002200+ Keyword name is not valid; the keyword is ignored. UTILITIES/SRC(APICB)
523+ JobName Char(10) Pos(244);
524+ UserName Char(10) Pos(254);



Subject to Change Notice:

WalzCraft reserves the right to improve designs, and to change specifications without notice.

Confidentiality Notice:

This message and any attachments may contain confidential and
privileged information that is protected by law. The information
contained herein is transmitted for the sole use of the intended
recipient(s) and should "only" pertain to "WalzCraft" company matters.
If you are not the intended recipient or designated agent of the
recipient of such information, you are hereby notified that any use,
dissemination, copying or retention of this email or the information
contained herein is strictly prohibited and may subject you to
penalties under federal and/or state law. If you received this email
in error, please notify the sender immediately and permanently delete
this email. Thank You

WalzCraft PO Box 1748 La Crosse, WI, 54602-1748
www.walzcraft.com<http://www.walzcraft.com> Phone: 1-800-237-1326
--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a
message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.


--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.




Subject to Change Notice:

WalzCraft reserves the right to improve designs, and to change specifications without notice.

Confidentiality Notice:

This message and any attachments may contain confidential and privileged information that is protected by law. The information contained herein is transmitted for the sole use of the intended recipient(s) and should "only" pertain to "WalzCraft" company matters. If you are not the intended recipient or designated agent of the recipient of such information, you are hereby notified that any use, dissemination, copying or retention of this email or the information contained herein is strictly prohibited and may subject you to penalties under federal and/or state law. If you received this email in error, please notify the sender immediately and permanently delete this email. Thank You

WalzCraft PO Box 1748 La Crosse, WI, 54602-1748
www.walzcraft.com<http://www.walzcraft.com> Phone: 1-800-237-1326

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.