Search found 21 matches

by gio.cot
Thu Apr 16, 2026 9:23 pm
Forum: General
Topic: Error qsh: fork: Error 3489 occurred.
Replies: 1
Views: 7937

Error qsh: fork: Error 3489 occurred.

Hi all
I’m try to run via CLP in batch, a sftp script (that use Expect tool), and then invoke it with STRQSH CMD(&CMD) …
In the log file i find “fork: Error 3489 occurred. ”
The batch CLP, is submitted a jobq that can execute max 6 jobs and the SubSystem also can execute max 6 jobs ; in this moment ...
by gio.cot
Tue Apr 07, 2026 10:26 am
Forum: General
Topic: UDFx error 42884
Replies: 1
Views: 18471

Re: UDFx error 42884

Hi all
The problem was in RPGLE ctl-opt "ACTGRP(*NEW) "
Runnig dspjob from 5250 i have found :


"Message ID . . . . . : CPF426A
Sent Date . . . . . . : 07/04/26 Sent Time . . . . . . : 12:16:36 PM Message . . . : The user-defined function ZGIACART_Z cannot be called.
Cause . . . . : An external ...
by gio.cot
Mon Apr 06, 2026 9:05 pm
Forum: General
Topic: UDFx error 42884
Replies: 1
Views: 18471

UDFx error 42884

Hi all
I'm plyaing with UDFx
I have registered ths UDF

CREATE OR REPLACE FUNCTION mylib.ZGIACART_Z (
CODART VARCHAR(17) ,
DATARIF decimal(8, 0)
)
RETURNS TABLE (
mag char ( 2),
art char ( 17),
cau decimal ( 3 , 0),
GIACENZA DECIMAL( 15 , 3)
)
LANGUAGE RPGLE
PARAMETER STYLE DB2SQL ...
by gio.cot
Wed Apr 01, 2026 8:41 pm
Forum: RPG IV
Topic: How to find wich program lock file record
Replies: 0
Views: 14826

How to find wich program lock file record

Hi all
In a job, sometimes I have a problem with a record that remain locked and so i get CPF5032 "Record already locked to this job ;
how i could find the program that take locked the record ??
Keep in mimd that this file is under commitment control ..
Thank in advance
by gio.cot
Tue Mar 31, 2026 8:59 pm
Forum: General
Topic: sFTP with expect
Replies: 1
Views: 19318

sFTP with expect

Hi all
i'm try to use exectp to access to sFTP server
i wrote this script to list content folder, but it seems that the "cd" command don't work
this my script

#!/usr/local/bin/expect -f
set REMOTE_DIR "/cert_xxxx_name/in"
spawn sftp cert_xxxx_name@111.22.333.xx
expect "Password:"
send "mypsw\n ...
by gio.cot
Thu Feb 19, 2026 11:46 am
Forum: HTTPAPI
Topic: HTTP Server config library list
Replies: 1
Views: 60878

HTTP Server config library list

hi all
until today in our Web Server config, we have insert thsese directives:

ScriptAliasMatch ^/rest/(.*) /QSYS.LIB/MYLIB.LIB/$1.PGM
<Directory /QSYS.LIB/MYLIB.LIB/>
Order allow,deny
Allow from all
SetEnv QIBM_CGI_LIBRARY_LIST "QTEMP;TESTLIB;MYLIB"
</Directory>

doing some test/debug, we have ...
by gio.cot
Sun Feb 08, 2026 1:25 pm
Forum: JDBCR4
Topic: Can I join tables from different databases?
Replies: 1
Views: 134016

Can I join tables from different databases?

Hi all
i would need to execute SQL statement (in RPGLE program) that join a IBM i Table with a MySql table that is stored in a external data base (windows server) ...
in your opinion is it possbile ??
Thanks in advance
by gio.cot
Fri Jan 16, 2026 6:28 pm
Forum: HTTPAPI
Topic: Configure Basic Authentication on HTTP SERVER
Replies: 0
Views: 78359

Configure Basic Authentication on HTTP SERVER

I have configured an http SERVER and deployed a web service for test; it
works fine.

Now i would like to learn and test how use "Basic Authentication"; can some
one suggest some links how to do that, i found this documet
https://www.itjungle.com/2024/08/12/guru-creating-a-web-service-with-basic-a ...
by gio.cot
Thu Jan 15, 2026 9:45 pm
Forum: YAJL-ILE
Topic: Invoke WebSrvice with Soap or Postman
Replies: 1
Views: 164986

Re: Invoke WebSrvice with Soap or Postman

Hi
solved .. the Json was wrong
in postman i tried with this Json and now it works
Thanks
Gio
by gio.cot
Thu Jan 15, 2026 6:38 pm
Forum: YAJL-ILE
Topic: Invoke WebSrvice with Soap or Postman
Replies: 1
Views: 164986

Invoke WebSrvice with Soap or Postman

Hi all
i'm try to play with example at page 178 of https://www.scottklement.com/presentations/REST%20APIs%20and%20RPG.pdf;
i configured HTTP Server
i have created a simple progam the try to read a JSON Input Message


dcl-s loaded ind inz(*off);
// dcl-ds cust qualified template;
dcl-ds cust ...