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



Check out one of Jon Paris' classes. Here's the abstract on one he's doing 
at our user group in January:

RPGIVâs ability to prototype C APIs opens the door to processing IFS files 
directly in your RPG programs. From preparing XML files, to Excel 
spreadsheets, this ability allows you to go far beyond the capabilities of 
CPYxxxIMPF and CPYxxxSTMF.
In this session we will introduce you to the basics of opening, reading, 
and writing IFS files. We will also show you how to process directories, 
check for file accessibility and more.


Paul Nelson
Arbor Solutions, Inc.
708-670-6978  Cell
pnelson@xxxxxxxxxx





Chris Bipes <chris.bipes@xxxxxxxxxxxxxxx>
Sent by: midrange-l-bounces@xxxxxxxxxxxx
12/06/2004 06:06 PM
Please respond to Midrange Systems Technical Discussion
 
        To:     "'Midrange Systems Technical Discussion'" 
<midrange-l@xxxxxxxxxxxx>
        cc: 
        Subject:        RE: CPYTOIMPF



The procedure works like this:
1. crtpf qtemp/work rcdlen(132)
2. ovrdbf pgmf qtemp/work 
3. rpg pgm write different fmts to file
4. cyptoimpf this qtemp work file for converting to PC ASCII
5. FTP IFS file to remote system

Yes it would have been nice if the programmers new more about the IFS 
stuff
and wrote directly to the IFS as PC ASCII but they did what they knew, 
fast.
Now we just want it to work.  Change to CPYTOSTMF and all works fine.
CPYTOSTMF work great for program described files while CPYTOIMPF works for
externally defined database files.  We are reviewing what does not work
still and changing if it makes sense.  Hopefully the developers start
learning how to create and write directly to the IFS.  Too much stuff back
and forth to banks and business partners.

Chris Bipes
 

-----Original Message-----

Since you've got a program described file, you should be able to create 
DDS at whatever CCSID you wish for a work file that you could copy into. 
Then copy the work file with the CPYTOIMPF routine. 

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing 
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.




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.