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



Are both files having same rec format. If not ok otherwise you should get an error msg. Correct me if I'm wrong



Regards,

Chamara Withanachchi
Owner of www.rpgiv.info

WWW.RPGIV.INFO
Mob: +971 50 5698644
Tel: +971 6 5595887
chamaraw@xxxxxxxxxx
www.rpgiv.info
i want to be future ready. i want control. i want an i.


Sent from my BlackBerry® wireless device

-----Original Message-----
From: rob@xxxxxxxxx

Date: Mon, 12 Jan 2009 14:58:37
To: RPG programming on the IBM i / System i<rpg400-l@xxxxxxxxxxxx>
Subject: Re: Rename file field in RPGLE


This compiles and works fine:

FCHAMARA1 IF E DISK
// CHARMARA1 has: SHAREDKEY and OTHERFLD
FCHAMARA2 IF E DISK
// CHARMARA2 has: SHAREDKEY and OTHERCOL
ICHAMARA1R NS 01
I SHAREDKEY XSHAREDKEY
/free
*inlr=*on;
read chamara1;
dsply otherFld;
dsply xSharedkey;
read chamara2;
dsply otherCol;
dsply Sharedkey;
/end-free

Rob Berendt

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.