Hi,
nice to hear, Peter ... how's the weather in Southern France?
We wrote a C program to do the trigraph modification ... portable of
course,
so that it could run on the mainframe, after the upload of the source
(which was done by the
ISPF workstation agent at that time) and just before the compile :-)
Today, the sources come from a Unix system, where the new versions are
developed and tested first.
And when they are ready for mainframe deployment and test, they are
simply sent to the mainframe,
together with an XML file, which contains metadata, and then they are
automatically compiled and
inserted into the mainframe supply chain (which consists of a home grown
CCM solution, based on
REXX, C, ISPF and DB2). I am still in charge to support this CCM
solution, which now exists since the
early 1990s (and it supports PL/1 and ASSEMBLER programs, too, of course
... and many other types
of mainframe artefacts).
Kind regards
Bernd
Am 10.07.2024 um 09:55 schrieb Peter Sylvester:
Hi,
Bernd's message about Trigraphs:
At GMD we used the IBM C compiler in a DFN-project for an MVS X.400
system, including an ASN tool an X.400 encode/decode from retix. in
1987. "user agent" was based on UCLA/MAIL). The Retix software was
delivered as a unix tar file on tape (more than once through the
project). Well, I had to get the files out of the tar into some PDSes,
modify the sources (the #includes), making trigraphs. By hand?
Hundreds of files. Definitively not. A rather small SPITBOLĀ Was fun.
In a SHARE presentation, one of the C project presented how they
implemented strcmp using CLC. Could you get a 0C4 if a short string
near the end of page compared to a larger constant? Well, unlikely, no
answer, no way to know whether there were guard pages. No problem in
real life anyway.
Peter Sylvester
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN