× 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 have used STRPCCMD from my RPG program using QCMDEXEC, you need to do a
STRPCO command initially, I the STRPCO in a CL program that calls the RPG
program then monitor for message IWS4010 in the CL to keep from getting a
CPF error if STRPCO is already issued. Not sure if anyone else out there has
a better way.

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Chamara Withanachchi
Sent: Monday, June 15, 2009 10:50 AM
To: RPG Programming on the AS400 / iSeries
Subject: Access pc file from RPG program


Hi,

I need to access a .ini file in C drive from my RPG program and check its
contents. Does any one have experience on this?

Any help is highly appreciated.




Regards,

Chamara Withanachchi
IBM Certified Power System Expert
RPG Programmer
(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 BlackBerryR wireless device

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.