Search found 206 matches

by jonboy49
Thu Oct 20, 2022 7:44 pm
Forum: YAJL-ILE
Topic: Error 1002
Replies: 5
Views: 2720

Re: Error 1002

Basically a 1002 error is saying the data is invalid for the intended target. Since you didn't post the DS you are using or the DATA-INTO itself we have no idea what it might be.

Show us the code and we'll have a better idea.
by jonboy49
Thu Oct 13, 2022 9:38 pm
Forum: HTTPAPI
Topic: HTTPAPI Performance questions
Replies: 15
Views: 12924

Re: HTTPAPI Performance questions

I did! Look at what I said. Here's a small extract of your source (with spacing added) wrapped in code tags // ---------------------------------------------------------- // Procedure interface - passed Parameters // ---------------------------------------------------------- dcl-pi json_05 extpgm; pC...
by jonboy49
Thu Oct 13, 2022 4:34 pm
Forum: HTTPAPI
Topic: HTTPAPI Performance questions
Replies: 15
Views: 12924

Re: HTTPAPI Performance questions

Can you please edit the post to put code tags around the source so it is readable.
i.e. the word code in square brackets [ ] use /code to end it.

Code: Select all

    That will    produce correctly   spaced results like this    ssss
by jonboy49
Thu Oct 13, 2022 3:39 pm
Forum: RPG IV
Topic: STRPCCMD Issues
Replies: 5
Views: 3911

Re: STRPCCMD Issues

Check out this thread - lengthy discussion on the subject.

https://code400.com/forum/forum/iseries ... g-strpccmd
by jonboy49
Fri Oct 07, 2022 3:30 pm
Forum: General
Topic: Help with 5250 protocol
Replies: 4
Views: 5919

Re: Help with 5250 protocol

To help you "fix" it we'd need to know what method is currently being used. The normal method of handling 5250s is via display files (DSPG objects) Or are you using UIM ? or the C-style DSM APIs? Or raw 5250 data stream? Or ... ???? What language are you using? What issues are you facing e...
by jonboy49
Fri Sep 30, 2022 5:08 pm
Forum: HTTPAPI
Topic: How to find current version
Replies: 4
Views: 5685

Re: How to find current version

In QRPGLESRC in LIBHTTP there is a source member CHANGELOG.TXT which lists versions and changes. Not sure if I have the latest version on my system but it shows 1.39 as the latest change.
by jonboy49
Tue Sep 27, 2022 9:28 pm
Forum: YAJL-ILE
Topic: DATA-INTO and ALWBLANKNUM
Replies: 4
Views: 2370

Re: DATA-INTO and ALWBLANKNUM

No and I can’t look it up right now but the RPG Cafe has it listed
by jonboy49
Tue Sep 27, 2022 6:06 pm
Forum: YAJL-ILE
Topic: DATA-INTO and ALWBLANKNUM
Replies: 4
Views: 2370

Re: DATA-INTO and ALWBLANKNUM

Like you I would expect that to work. You do have the runtime PTF for this installed right? One solution (if this is an urgent production issue) is to change the definition of the field(s) in question to alpha and then manually convert them to numeric where you could use MONITOR to trap conversion e...
by jonboy49
Fri Sep 09, 2022 2:58 pm
Forum: General
Topic: Extending existing RPG investment to other platforms
Replies: 1
Views: 3197

Re: Extending existing RPG investment to other platforms

Well my first suggestion would be to upgrade your OS level. Stuck at V7.1 you are going to have issues with the levels of encryption you can offer to your clients. Also moving up to a supported release (V7.1 has been off full service for a while now) will open you up to more possibilities like node....
by jonboy49
Fri Aug 12, 2022 12:17 am
Forum: General
Topic: Using IBM i SMTP Client to relay email to GMail
Replies: 9
Views: 11682

Re: Using IBM i SMTP Client to relay email to GMail

This is just part of the script - as far as I can see other than having to authenticate ourselves there's nothing really special there. require 'PHPMailerAutoload.php'; // Create a new PHPMailer instance $mail = new PHPMailer; // Set PHPMailer to use the SMTP transport $mail->isSMTP(); // Set debug ...