Re: [CMS-PIPELINES] Cross compiling S390x to Linux x86-64

2022-12-22 Thread Amphitryon
Yes he did. In 2016. 29.6.2016 to be precise :) Ciao.Mike Am 22.12.2022 um 20:44 schrieb Dave Jones: Hello, all. Didn't John at one time publish, or at least reference, a paper on how to set up the GCC compiler to product S390x code while running on Intel Linux? Happy Holidays, too. DJ

Re: [CMS-PIPELINES] Stage for reading/updating CMS NAMES file?

2020-08-18 Thread Amphitryon
Am 17.08.2020 um 22:46 schrieb David Boyes: > There has to be a better way; alternative ideas or suggestions welcomed Sure: CSV. For the "quick no-frills datastores for small numbers of entries" you mention, simple is better. It is only worth to care for NAMES files if it is to maintain the

Re: [CMS-PIPELINES] CRC for 10bit words?

2020-06-10 Thread Amphitryon
Am 09.06.2020 um 21:03 schrieb Rob van der Heij: > On Tue, 9 Jun 2020 at 18:37, wrote: > >> The CRC stage could use "canned" CRC algorithms or some custom >> defined ones. Is there a trick or any chance at all to define an >> algorithm for 10-bit words instead of 16- or 32-bit? >> >>

[CMS-PIPELINES] CRC for 10bit words?

2020-06-09 Thread Amphitryon
The CRC stage could use "canned" CRC algorithms or some custom defined ones. Is there a trick or any chance at all to define an algorithm for 10-bit words instead of 16- or 32-bit? Ciao.Mike -- www.Ok.de - die kostenlose E-Mail Adresse

Re: [CMS-PIPELINES] differences between the first and last matching lines

2020-05-16 Thread Amphitryon
Am 15.05.2020 um 18:59 schrieb Glenn Knickerbocker: > On 5/9/2020 5:48 PM, amphitr...@ok.de wrote: >> If the easily filtered headers are as good as section delimiters, >> you have won. > > That's where I lose in this case. Even the actual section headers > identifying the different source files

Re: [CMS-PIPELINES] differences between the first and last matching lines

2020-05-09 Thread Amphitryon
Am 10.05.2020 um 00:17 schrieb Paul Gilmartin: > Ouch! Is there any way you can use a smarter comparator such as > SUPERC or diff (should be in OpenExtensions)? LOL! No, SUPERC is super, no doubt. But why not reinvent the wheel once more? SUPERC it is not a pipe stage (AFAIK) and the task was

Re: [CMS-PIPELINES] differences between the first and last matching lines

2020-05-09 Thread Amphitryon
Hello! Am 08.05.2020 um 20:46 schrieb Glenn Knickerbocker: > (I don't control > the process of building the big file, so I can't just add section > delimiters, but I can easily filter out commonly occurring lines like > blanks and headers.) If the easily filtered headers are as good as section

Re: [CMS-PIPELINES] swap two records

2019-08-18 Thread Amphitryon
Am 18.08.2019 um 21:44 schrieb Rob van der Heij: > Did I compete with the join | split approach? Can I also participate with > this? You cap yourself: now 60 ms only. To avoid the Not I bracketed Deal: ... literal | d: deal | drop ... alas there is no further gain by that. Ciao.Mike

Re: [CMS-PIPELINES] swap two records

2019-08-18 Thread Amphitryon
RITA showed, Glenn's solution is honourable second, while Rob's suggestion only penultimate far behind ;) The details: I tested only with one log file of 161'000 lines. RITA revealed that most of the time is lost (or spent ?) in rearranging the records for later advantageous use. Instead of

Re: [CMS-PIPELINES] swap two records

2019-08-16 Thread Amphitryon
Am 17.08.2019 um 02:23 schrieb Glenn Knickerbocker: > [...] > A way that's a little tricky but avoids messing with combining records > is to use DROP LAST to delay a copy of the file by one record, [...] > > (end /) ... > | dup: fanout > | strfind '_' > | all: faninany > | ... >

Re: [CMS-PIPELINES] swap two records

2019-08-14 Thread Amphitryon
Thank you both for all suggestions. I now use Rob's first one, just to keep it as a reminder that Between's "target" argument may also be a number of records. Am 14.08.2019 um 18:49 schrieb Rob van der Heij: > | x: if between /tag/ 2 > | spec 1-* c2x > | join / / > | spec w2 1 w1 nw > |

[CMS-PIPELINES] swap two records

2019-08-14 Thread Amphitryon
In a file I have every now and then a record tagged at the beginning, all other lines begin with blanks. I'd like to change the sequence of tagged records with the one directly following it (which is for sure not tagged). I tried with Fanintwo, but failed. I considered a mod of Throttle REXX

Re: [CMS-PIPELINES] PC-Pipes anyone?

2019-03-22 Thread Amphitryon
Am 22.03.2019 um 21:45 schrieb René Jansen: > I do think that we strayed too far off-topic on a list that is called > CMS-PIPELINES. Sorry for asking on this list about PC-Pipes, but I looked for several days elsewhere, alas luckless. Frustrated by the result of those "I-know-all" searching

Re: [CMS-PIPELINES] PC-Pipes anyone?

2019-03-22 Thread Amphitryon
Dear Sir, quick, short and sufficiently precise as always. i) how could I ask, ii) drowned/perished? What The Machine(s) don't fish out does virtually not exist any more. Best Regards, ... Am 22.03.2019 um 11:59 schrieb John P. Hartmann: > i)   No. > ii)  Waters:  The Machine. > > On 3/22/19

[CMS-PIPELINES] PC-Pipes anyone?

2019-03-22 Thread Amphitryon
The only hint I found about PC-Pipe's existence is a 10 years old append announcing an update of PC-Pipes, alas today the link is dead. Questions: i) is there a result from the efforts to migrate Pipelines to the PC world, comparable to the original? ii) where may I find it? Ciao.Mike --

Re: [CMS-PIPELINES] Timeout a CMS command with PIPE?

2018-11-09 Thread Amphitryon
Am 09.11.2018 um 15:57 schrieb Rob van der Heij: > If you were to write your application with your bare hands, the FULLSCR > stage does nicely terminate when the output stream is severed. Just saying. > > Sir Rob the Plumber Dear Sir, if you are 'just saying' you could just have a look here in

Re: [CMS-PIPELINES] Timeout a CMS command with PIPE?

2018-11-09 Thread Amphitryon
Am 09.11.2018 um 15:45 schrieb Alan Altmark: > When you say "trigger VSCREEN WAITREAD", do you mean that you would like a > VSCREEN WAITREAD command to end because of an external event? If so, the > answer is "No". Too bad. Help about VSCREEN WAITREAD mentions about the possible content of

[CMS-PIPELINES] Timeout a CMS command with PIPE?

2018-11-08 Thread Amphitryon
For an application using Fullscreen CMS I'd like to have a timeout. Fortunately there is a BEAT stage, so I tried "PIPE (end ? sep !) nuwfk ! a:beat 5 ?a:' with NUWFK REXX containing mainly address '' "VSC WAITREAD NUT" "CALLPIPE stem waitread. ! stem waitread. MAIN" When it

[CMS-PIPELINES] polish, contrarily

2018-05-08 Thread Amphitryon
Is there somewhere a REXX that does the complete reversal of the POLISH stage? For what purpose? Well, once upon a time there was an HP-71B doing BASIC and I'd like to decompile the files I found on an old disk. (Its about hobby and as such of minor importance.) I am already there to put

[CMS-PIPELINES] Snake's Premature Termination

2016-12-27 Thread Amphitryon
In Pipe Ahelp Snake I find: > Premature Termination: "snake" terminates when it discovers > that its output stream is not connected. I found this statement _after_ a little test directly from the XEDIT command line > pipe(sep !)literal + - :!dup *!split!snake 7 2!take 5!term what made me

Re: [CMS-PIPELINES] Browse, Experimental device driver

2016-11-04 Thread Amphitryon
Am 31.10.2016 um 16:49 schrieb Hobart Spitz: > [...] > (Why use CC on a non-printer? To get underscores and some color. Try it.) For two days I thought the attributes '(* * * * * * 0' would do the trick and make 'browse' use the same codepage as term/cons or xedit. Now with option CC -

Re: [CMS-PIPELINES] Browse, Experimental device driver - solved

2016-11-02 Thread Amphitryon
Problem solved, by reading documentation and little testing. But first I took the far distance deviation over extracting FPLRICBW REXX (15 Dec 2007 12:36:31) from PIPELINE MODULE. So I found BROWSE/BRW does not mind what is set as NONDISP character (00-3f and ff are set to blank), and only 8 of 9

Re: [CMS-PIPELINES] Browse, Experimental device driver

2016-11-01 Thread Amphitryon
To the Senior Managing 3270 Codepage Dark Arts Instructor Dear Sir, most respected Esquire, thank you to shed some light on this darkest site of my knowledge, I will do bestir myself and bring Browse to work flawlessly also on PersComm as it did so far on Mochasoft's tn3270. Best, Mike

Re: [CMS-PIPELINES] Browse, Experimental device driver

2016-11-01 Thread Amphitryon
Thank you for your prompt reply. > Your application can parse the output of DIAGNOSE 0x8C (REXX diag('8C') > BIF) to discover the code page of the terminal and use that value on > TERMCODEPAGE. I will dig a bit deeper in this direction. Gets thrilling. :) >> ... And if I set CMS fullscreen on,

Re: [CMS-PIPELINES] Browse, Experimental device driver

2016-11-01 Thread Amphitryon
Hello Hobart! > I use BROWSE often. At the risk of throwing a monkey wrench into the > works, I'll add a few comments. Thank you for writing down what I thought. Well, your first point may be a bit special, I regard browse first as data-presenter for interactive applications. But if it helps

Re: [CMS-PIPELINES] Browse, Experimental device driver

2016-11-01 Thread Amphitryon
Hello Alan > The cons/term stage is 3215 line mode. [...] > CP does not assume a particular code page. As such I regard this as accurate, if the 3270 emulation on my PC is set up correctly. > Browse, on the other hand, is full screen. Be careful what kind of data < > 0x40 you send to

[CMS-PIPELINES] Browse, Experimental device driver

2016-10-31 Thread Amphitryon
As Pipelines touches almost everything VM/CMS I assume following question is appropriate within this list, albeit it is somewhat related to 3270 emulations too. Until this weekend I assumed the display from > pipe(sep !)xrange 40-ff!fblock 16!term and > pipe(sep !)xrange 40-ff!fblock 16!brw

Re: [CMS-PIPELINES] Premature Termination of STRLITERAL CONDITIONAL

2016-08-19 Thread Amphitryon
Am 18.08.2016 um 19:38 schrieb Rob Van der Heij: > Mike, did you consider to use lookup to replace the cascade? That should make > it easy to terminate. Doesn't pipedemo change propagation of eof? I'd use > listrc to check. > Rob Thank you and all who replied. I will give LOOKUP a try, even

Re: [CMS-PIPELINES] access to variable pool

2016-05-17 Thread Amphitryon
> A dirtier trick that comes to mind I am glad I dared to ask. Compared to my original idea I now have i) a much simpler way to achieve almost the same, and ii) a surprisingly tricky solution, at least for me. Both are really sophisticated in their way. Well, the 'prefix recno' could even be more

Re: [CMS-PIPELINES] access to variable pool

2016-05-14 Thread Amphitryon
OK, I will do as you adviced. Drawback: such a REXX fails when called from CMS command line. (The free WiFi Cafe is closing at 1800, so TNX and nice WE!) Ciao.Mike Am 14.05.2016 um 17:47 schrieb Kris Buelens: > The problem is that the added PIPE runs independently of the REXX stage > that

Re: [CMS-PIPELINES] access to variable pool

2016-05-14 Thread Amphitryon
Really?? The number indicates how many caller environments to go *back*. I'd like to set the var in the REXX that issues the ADDPIPE. Am 14.05.2016 um 17:32 schrieb Jack Woehr: > amphitr...@ok.de wrote: >> var where tracking' > var 1 where tracking -- www.Ok.de - die kostenlose E-Mail Adresse

[CMS-PIPELINES] access to variable pool

2016-05-14 Thread Amphitryon
Building a parser for nibble-oriented files I tried to get an indicator 'where I am'. So I coded in my REXX > "ADDPIPE (sep ! end ?) *.input:", > '! spec *-* c2x 1', > '! fblock 2', > '! reverse', > '! fblock 1', > '!a:sync', > '!*.input:', > '? literal', > '! dup *', > '!a:', > '! spec

[CMS-PIPELINES] DIY deblock

2016-04-13 Thread Amphitryon
To de-block text files from HP LIF disks none of the many options of DEBLOCK was suitable. Structured fields is quite close, but the length of the length field is not included in the length. In addition records of odd length are padded with one byte so next length field starts on an even byte.

Re: [CMS-PIPELINES] optional secondary stream in a REXX stage

2016-01-06 Thread Amphitryon
Dear Sir, most respected Esquire, > In short, you can do whatever you like. I do my very best and get hit by error messages. > [...] but if you refer to a stream that isn't there, retribution > will be swift. You state it so crystal clear I fear there is no mercy and my petition for indulgence

Re: [CMS-PIPELINES] Funny finding

2016-01-05 Thread Amphitryon
In my opinion there is no need neither for an option nor a configuration variable. Who has the hours to fine-adjust processing with options may use a STRLIT IFEMPTY to achieve the same. Fiddling with my OCT2>HEX rexx I found VERIFY does pass null records too. So I use LOCATE to filter them out.

[CMS-PIPELINES] optional secondary stream in a REXX stage

2016-01-05 Thread Amphitryon
I flipped through The Book but did not find an example. When I want an optional secondary stream in a REXX, do I have to query for it and optional use '*..1:' or 'take 0' in my callpipe? Or is there a canonical way to make the secondary connector act smart? And, what do I have to do that

[CMS-PIPELINES] Funny finding

2016-01-03 Thread Amphitryon
What do you expect as result from following pipelines? > pipe(sep !)literal! split!count lines!term > pipe(sep !)literal ! split!count lines!term > pipe(sep !)literal !split!count lines!term I was quite surprised at the difference so I have to tell about here. Found it while "wildly" testing a

Re: [CMS-PIPELINES] Adding 3270 Color attributes to output

2015-11-09 Thread Amphitryon
To put some colour to a 3270 I use Fullscreen CMS. In a Pipe I assemble the CMS commands to colourize what the same Pipe just displayed on the terminal. Following is a snippet which 'overlays' the highlighting for changes in a side-by-side listing. (The second column starts at position 24.) >

Re: [CMS-PIPELINES] CSV data specs

2015-08-24 Thread Amphitryon
Am 22.08.2015 um 12:19 schrieb Melinda Varian: The end of that discussion in July of 1999 was this REXX stage by Michael Faulhaber: [...] Two remarks: i - it was not my intention to end that discussion in 1999, and ii - even the CSVCLN REXX shows '.Mike' as author it is not at all my

Re: [CMS-PIPELINES] 1.1.12/000a

2015-01-06 Thread Amphitryon
Am 01.01.2015 um 19:53 schrieb John P. Hartmann: [..] I cannot check that all is as it should be. Holler if no and I shall fix it. It seems to me there is an interference with Fullscreen CMS. With Fullscreen ON following line in a exec drops variable t and displays the answer from the CMS

[CMS-PIPELINES] reverse only byte-wise?

2015-01-06 Thread Amphitryon
Hello all. Question: REVERSE has no arguments? Recently I had to reverse a record 2-byte-wise and helped me with SPECS: fblock 5 reverse vchar 10 16 spec 7.2 1 5.2 3 3.2 5 1.2 7 fblock 2 With the necessary FBLOCK 2 in the end I now coded: '! fblock 2560! reverse! vchar 10 16', /* get

[CMS-PIPELINES] How to end an auxiliary construction

2014-05-15 Thread Amphitryon
Hello all! How may I stop an record-doubling branch when I got enough records from it? With GATE of cause, alas... let me explain. There exists a protocol for sending data via TCPIP from one device to the next and back to the sender which compares it with the sent data to see if the loop is