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



Thanks Scott:

Considering this software will be distributed to IBM i only, and is mainly SQL/RPG/CL (with some COBOL and Python mixed in) it might be the 819 CCSID is the way to go. I’ll have to consider the course of action here.


Jim Oberholtzer
Agile Technology Architects



On Feb 12, 2024, at 3:18 PM, Scott Klement <midrange-l@xxxxxxxxxxxxxxxx> wrote:

Not sure that there's a "best" way. I've done it many different ways over the years:

1. CPYTOSTMF

2. FTP mget

3. QSH with Rfile

4. Written my own program with the IFS APIs.

All work just fine.

About using CCSID 1208, though, I have mixed feelings. I do feel that it is the "right" way, in particular if source code is to be distributed to other systems, this is a very universal character set. But, most of the compilers on IBM i work in EBCDIC -- so the compiler needs to convert the source code to EBCDIC. Many have a hard time converting CCSID 1208 to EBCDIC because there isn't any one CCSID that supports all 300,000 characters in UTF-8. Most compilers have added parameters to allow you to pick which CCSID they use -- which is fine, but if you plan to distribute this code to many systems, all of the systems that will work with the code need to have the PTFs to enable this functionality, and sadly I have run into problems with that. By contrast, if you store your source in CCSID 819 this is not usually a problem.


On 2/12/2024 10:58 AM, Jim Oberholtzer wrote:
We want to move all our source to the IFS. Simply put that's where VSCode
is best and GIT works. So the question becomes, what is the best way to
get source from a PF to the IFS? I would also presume that it should have
CCSID 1208 to be compatible with other things.

We have about 30 libraries worth of source to move so a somewhat automated
process would be nice, although since it's presumably a one time shot we
may just do it manually.

Thoughts?

--
Jim Oberholtzer
Chief Technical Architect
Agile Technology Architects

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.