Oppolzer - Informatik / Blog


Blog-Hauptseite      Neuester Artikel      Älterer Artikel      Neuerer Artikel      Älterer gleiche Kategorie      Neuerer gleiche Kategorie

Hercules - Problem beim Aufruf eines C-Programms von BREXX aus

Subject:

Re: [H390-VM] Re: Problem invoking a C-program form REXX

From:

Bernd Oppolzer <bernd.oppolzer@T-ONLINE.DE>

Reply-To:

Date:

2013.06.18 20:55:00


I believe your REXX script is fine, and althougth you didn't post the source of
EE, I think the C program is fine, too.

The problem is IMO that something is wrong in

a) the communication from BREXX to the CMS command interface and

b) the translation from the CMS command interface to the C argc/argv parameter
values (this is what GCCLIB does, I think)

The problem is: BREXX to CMS works fine, and CMS to C argc/argv works fine, too;
but the combination of the two doesn't work. I would first try to examine how
BREXX does the communication to the CMS command interface (some sort of SVC,
IIRC); Is BREXX itself implemented using C, maybe using the system() call?

Don't know, if this helps ...

Kind regards

Bernd



Am 18.06.2013 16:35, schrieb H.L.:
>
>
> disk C is not accessed, but this is not the underlying problem, as I don't want
> to access the file "EE EEPREFIX C", but "EEPREFIX C D1", so all parameters are
> shifted to the right by 1, at least this is the net result when REXX passes
> the parameter list to EE (which is a C program).
>
> I forgot to mention that I try this on VM/370 R6 SixPack 1.2, so REXX is the
> BREXX implementation.
>
> H.
>

Blog-Hauptseite      Neuester Artikel      Älterer Artikel      Neuerer Artikel      Älterer gleiche Kategorie      Neuerer gleiche Kategorie