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



Hi,

Believe you should check the ccsid of the stmf created by the rpg program.
When done nothing special it gets theccsid of the job its created in.

One stmf created from a pc will get a correct ccsid.

So check the ccsid it should be 1208 or 1252. This was working for us.

Danny

-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Booth Martin
Sent: vrijdag 11 november 2016 06:34
To: Web Enabling the AS400 / iSeries <web400@xxxxxxxxxxxx>
Subject: [WEB400] JSON and the IFS

I believe I am asking myself the wrong questions.

First the scenario: I have a 45 record file in my development library which
I create and maintain with RPG & SQL. Another program reads that data and
creates a JSON file in /www/myweb/htdocs. Also in that folder are the
image, .css, and .html files for a web page to display the 45 records.

Two things are not working right.

First, its telling me the file is badly formed and points to row 1,
column 16. When I look at the file with WRKLNK the file looks
exactly like the file I have on another server and is working just
right.

Second, when I ftp that file to my PC and I look at the file it has
characters that are not a to Z.

The puzzling part to me is that this all works as expected when done on my
local PC and also when I install and run it on pair.com (where my regular
web site is hosted). It would seem to me that it should work, or not work?



--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/web400.


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.