Re: [CMS-PIPELINES] split at a column

2023-03-22 Thread John P. Hartmann
On 3/22/23 09:21, Rob van der Heij wrote: .. | y: if locate -80 | x: if chop -80 | x: | y: | ... Why -80 ? That would make the second record limited to 80 rather than the first, as I believe Glenn wants. .. | y: if locate 81 | x: if chop 80 | x: | y: | ... I like the second IF. Never

Re: [CMS-PIPELINES] split at a column

2023-03-18 Thread John P. Hartmann
On 3/18/23 14:02, Glenn Knickerbocker wrote: ... | split 80 before not 00-ff | ... Hehe! So I forgot to check for an impossible character range in combination with NOT.

Re: [CMS-PIPELINES] juxtapose with next

2023-03-15 Thread John P. Hartmann
If we are speaking two records, wouldn't SPEC be able to do what you want? On 3/13/23 23:41, Glenn Knickerbocker wrote: I've got a bunch of lists where each list *precedes* the container I want to match it up with--similar to link-edit steps in JCLIN, where the name of the load module comes

Re: [CMS-PIPELINES] deblocking with various possible linends

2023-03-14 Thread John P. Hartmann
On 3/14/23 16:05, Rob van der Heij wrote: The repeating "range" doesn't really do that, but I just checked that strip x0d 1 will take one from either or both sides of the record. You're right. It gives an error because it supports only ranges relative to the beginning of the record and

Re: [CMS-PIPELINES] deblocking with various possible linends

2023-03-14 Thread John P. Hartmann
On 3/14/23 00:44, Donald Russell wrote: If you know the data has crlf or lfcr or just lf but never just cr then … deblock 0a | strip both 0d | … A more reliable way to remove just one cr from either end might be something like change (1 -1) x0d //

Re: [CMS-PIPELINES] Debugging a data exception

2022-12-06 Thread John P. Hartmann
On 12/6/22 23:57, Rob van der Heij wrote: Yep, that's CMS release storage, So PARSEM runs key zero so that it can CMMSSTOR RELEASE,TYPE=BALR. Shouldn't that be fixed so that the application cannot walk all over CMS? :soapbox. Running key zero "for performance reasons" was never in my book; in

Re: [CMS-PIPELINES] Debugging a data exception

2022-12-06 Thread John P. Hartmann
I wish I had a penny for each time PIPE gets blamed for programs called from it falling over. Are those messages from your REXX code, or what? Looks like some kind of trace to me. If not of your doing, I'd find out what the component code IAD is and look for a call to it. You might also

Re: [CMS-PIPELINES] IF testing characters

2022-11-28 Thread John P. Hartmann
On 11/28/22 11:10, Kris Buelens wrote: I repeat that #1 (or in France £1) is a counter, so no spaces by definition. This is no longer the case. Counters can now contain non-numeric strings as well as proper numbers. Perhaps #1 should be called a variable, just as Alain does. The initial

Re: [CMS-PIPELINES] IF testing characters

2022-11-28 Thread John P. Hartmann
On 11/28/22 10:07, Alain Benvéniste wrote: Yes John ^ is the good character. There is something i still don’t understand : If i code If £1==a and a is equal to b3339 b for blank, the if is not honored If I use a If space(£1)==space(a) it works. It could mean that when i do a set £1:=a the blank

Re: [CMS-PIPELINES] IF testing characters

2022-11-27 Thread John P. Hartmann
On 11/27/22 13:51, a.benveni...@free.fr wrote: Sorry John to come back but, There is no /== operator in specs. For me, ^== works as the not exactly equal operator because my terminal emulator maps ^ to not; perhaps it works for you too. Otherwise you need to find the not character on your

Re: [CMS-PIPELINES] IF testing characters

2022-11-27 Thread John P. Hartmann
On 11/27/22 12:39, a.benveni...@free.fr wrote: " if (£1/=a) then", The numerically not equal operator converts both arguments to numbers and then performs a numeric compare. Your compare of 6010A fails because the digit A is not decimal. (Specs has no facility to compare hexadecimal.)

Re: [CMS-PIPELINES] IF testing characters

2022-11-26 Thread John P. Hartmann
a", " set £2:=b", " set £3:=c", " set £4:=1", " set £5+=1", " endif", " 1-* 1", " print £4 picture 9 nextword", " print £5 picture 9 next", "!01:" De : CMS/TSO Pipelines Discu

Re: [CMS-PIPELINES] IF testing characters

2022-11-26 Thread John P. Hartmann
On 11/26/22 13:15, Alain Benvéniste wrote: So there no syntax to assign characters to a variable to test it through a if ? Sure there is: if (#56 -= 1) then ... (decrement counter 56 and test for 0 or nonzero.) Perhaps it would be easier if you set your terminal/emulator to the US code

Re: [CMS-PIPELINES] IF testing characters

2022-11-26 Thread John P. Hartmann
! is the vertical bar (|) on most European terminals. It would have been nice to know the actual error message. On 11/26/22 12:14, Kris Buelens wrote: I don't understand what these are supposed to do

Re: [CMS-PIPELINES] FPLRVR236E Too much data for variable MSTEM.5020

2022-08-24 Thread John P. Hartmann
On 8/24/22 16:32, Stanislawski, Shawn (National VM Capability) wrote: 16MB? 24bit addressing related somehow, is it? Not likely, even though REXX is before XA, but MVCL are restricted to 16M objects.

Re: [CMS-PIPELINES] Fwd: CALLPIPE ends (-3)

2022-08-13 Thread John P. Hartmann
On 8/13/22 01:17, Donald Russell wrote: The question mark, though not my first choice, is well documented to mean “pipe”. There’s nothing ambiguous or questionable about it. REXX produces a question mark when the subcommand environment is provided as a PSW rather than a string. CMS

Re: [CMS-PIPELINES] Fwd: CALLPIPE ends (-3)

2022-08-10 Thread John P. Hartmann
Apart from what else can be said, your program is interpreted as EXEC2, not REXX. It lacks the leading comment to identify it as such. On 8/10/22 17:30, Steve Thompson wrote: Hi. I'm re-sending this because of somehow getting unsubscribed And issuing commands to change some default

Re: [CMS-PIPELINES] PREFACE and REXXVARS error 233

2022-06-13 Thread John P. Hartmann
, Glenn Knickerbocker wrote: On 6/11/2022 9:01 AM, John P. Hartmann wrote: Stop using PREFACE/APPEND if you wish to retain your sanity. I have to wrap this in *something* that will let the rest of the pipeline run. APPEND might be hard to predict when you want something to stop at (rather than

Re: [CMS-PIPELINES] PREFACE and REXXVARS error 233

2022-06-13 Thread John P. Hartmann
/**/ 'commit 0' 'callpipe rexxvars nomsg 233|*:' 'short' exit 0 On 6/13/22 21:54, Glenn Knickerbocker wrote: On 6/11/2022 9:01 AM, John P. Hartmann wrote: Stop using PREFACE/APPEND if you wish to retain your sanity. I have to wrap this in *something* that will let the rest of the pipeline

Re: [CMS-PIPELINES] PREFACE and REXXVARS error 233

2022-06-11 Thread John P. Hartmann
Stop using PREFACE/APPEND if you wish to retain your sanity. On 6/10/22 02:25, Glenn Knickerbocker wrote: On Mon, 6 Jun 2022 14:55:21 +0200, John wrote: The callpipe implied in PREFACE does the commit on you (trace told me), so REXXVARS starts on commit level 0, does not commit to 0, and

Re: [CMS-PIPELINES] LOOKUP AUTOADD wishlist: different key fields

2022-06-07 Thread John P. Hartmann
You must specify ALLMASTERS to get all matching master records. On 6/6/22 23:57, Glenn Knickerbocker wrote: I see that even with BEFORE I never get any duplicates out: pipe literal x1 x2 x3 x4|split|a:lookup autoadd before 1 count /a: /a:|cons /a: /a:|cons

Re: [CMS-PIPELINES] LOOKUP AUTOADD wishlist: different key fields

2022-06-06 Thread John P. Hartmann
So which is the master and which is the detail? On 6/6/22 21:32, Glenn Knickerbocker wrote: PIPE ... | lookup autoadd w3 w2 ... FPLLUP761E Different key fields not allowed with AUTOADD Why not? It wasn't hard to write the pipeline to add the records to the reference myself, but in the

Re: [CMS-PIPELINES] PREFACE and REXXVARS error 233

2022-06-06 Thread John P. Hartmann
The callpipe implied in PREFACE does the commit on you (trace told me), so REXXVARS starts on commit level 0, does not commit to 0, and returns with code 233, as it should, but at that time it is too late for the dispatcher to pull the brake. Somewhere in the early 1980s, we got multistream

Re: [CMS-PIPELINES] looking for files....

2022-04-25 Thread John P. Hartmann
They should be in a VM archive on github, but as I can no longer access github, you'll have to do some guessing as to where. Is there a CMSLIB project? On 4/24/22 16:48, Dave Jones wrote: Hello, fellow pipers. The document "John's Goodies Writing CMS Pipelines stages in C" mentions several

Re: [CMS-PIPELINES] PIPEs question

2022-01-23 Thread John P. Hartmann
Select the range you wish to test | grep and you have the matching string. However, I have never tested grep for interoperability with POSIX grep. On 1/23/22 16:00, Jack Woehr wrote: On 1/23/22 2:52 AM, Rob van der Heij wrote: PIPSYSF in the main pipeline, but I don't think grep c.s. are the

[CMS-PIPELINES] GREP

2022-01-23 Thread John P. Hartmann
For the record, What is left in PIPSYSF is not of product quality, for one reason or another.

Re: [CMS-PIPELINES] Will miss CMS/TSO Pipelines

2022-01-23 Thread John P. Hartmann
I'm afraid you are sunk. Anything else is just a toy. None have been validated against the pipelines regression reference. None performs or scales. If your withdrawal is too painful, there is the z/PDT. On 1/19/22 18:37, Eloy Rodríguez Barrio wrote: Our management has decided to

Re: [CMS-PIPELINES] Pipe stage for detecting specific external interruptions

2021-12-02 Thread John P. Hartmann
You would want a stage that connects to the timezone (or whatever) service and then writes a record when the event occurs. STARxxx does this for most system services. I'd suggest that be the paradigm. On 12/2/21 16:27, David Boyes wrote: There's nothing today, and it isn't easy if it

Re: [CMS-PIPELINES] PIPSYSF question....

2021-09-17 Thread John P. Hartmann
Presuming I am part of the group: The reason that what is now PIPSYSF did not get rolled into the various levels of CMS/TSO pipelines is that the remaining function is not always working as you want.  Or perhaps is (ghasp) buggy. Do you really want IBM to spend the effort to document

Re: [CMS-PIPELINES] PL/j examples

2021-06-13 Thread John P. Hartmann
Would the pipelines source code do as an example? Look for FPLxxx ASSEMBLE in the CMS source. Cheers, j. On 6/13/21 19:59, Dave Jones wrote: Hello, fellow plumbers. I am trying to teach myself PL/j so I can write stages in assembler. I am using Rob v.d. Heij's SHARE presentation

Re: [CMS-PIPELINES] Question about starsys *vmevent handling......

2021-04-15 Thread John P. Hartmann
Please trace IUCV to see the interrupt parameter and message number. Also check for message in parameter list. The target class is supposed to identify the data; without that, STARMSG *VMEVENT is useless. Perhaps STARMSG could/should be enhanced to write the IPARML in front of the data (or

Re: [CMS-PIPELINES] FPL120E in PUTFILES

2021-03-03 Thread John P. Hartmann
I also have a PUTFILES REXX, which does something entirely different. Perhaps Kris knows that Berry uses Kris' particular version. Otherwise all of this is more or less idle speculation. On 3/3/21 16:30, Kris Buelens wrote: My very first PUTFILES was indeed simple: an ADDPIPE for each fileid

Re: [CMS-PIPELINES] FPL120E in PUTFILES

2021-03-03 Thread John P. Hartmann
I didn't say that, but as long as Berry understands, all is fine. On 3/3/21 14:07, Rob van der Heij wrote: As John points out, when you're writing to SFS

Re: [CMS-PIPELINES] FPL120E in PUTFILES

2021-03-03 Thread John P. Hartmann
Use DISKSLOW if you know you are going to write a single line per invocation. The reason could be anything; Vblockv is totally undocumented. Use >SFS to get documented error and reason codes. I don't know what your PUTFILES does, so I cannot answer your final question. On 3/3/21 12:43,

Re: [CMS-PIPELINES] Lookup with floor

2021-01-29 Thread John P. Hartmann
In general, pipes are forgiving and accepts a wider gamut of options than the documentation specifies. The documentation is written to be comprehensible and flowing (in authors' argot), if it were to show all possible combinations of options and what not, it would, certainly in the case of

Re: [CMS-PIPELINES] Lookup with floor

2021-01-29 Thread John P. Hartmann
Be sure to retain the output at the end: lookup MASTER DETAIL. There is only one test case for each of CEILING/FLOOR. E.g., lookup floor 1 I must have been busy at the time in 2003. On 1/29/21 13:53, Rob van der Heij wrote: On Fri, 29 Jan 2021 at 13:45, Alain Benvéniste wrote:

Re: [CMS-PIPELINES] Lookup with floor

2021-01-29 Thread John P. Hartmann
There is something wrong here. LOOR is not a valid range, so F should not be recognised as a abbreviation of FIELD, but it certainly looks like that is what is happening. On 1/29/21 12:35, Ronald van der Laan wrote: Alain, I guess that with the second field definition, the F from FLOOR is

Re: [CMS-PIPELINES] punch, rscs, reader and deblock

2021-01-17 Thread John P. Hartmann
CMS pipelines also knows how to handle the case where the end of file marker is truncated to one byte in the last card. On 1/17/21 15:08, Rob van der Heij wrote: On Sun, 17 Jan 2021 at 14:48, Kris Buelens wrote: Probably there still is a chance that DEBLOCK CMS will complain when the last

Re: [CMS-PIPELINES] Fwd: Understanding relationship between ADDPIPE and COMMIT

2020-12-01 Thread John P. Hartmann
On 12/1/20 16:22, David Boyes wrote: SysV streams Ritchie's sewers has a lot more in common with CMS pipes than does Unix pipe()s.

[CMS-PIPELINES] Fwd: Understanding relationship between ADDPIPE and COMMIT

2020-12-01 Thread John P. Hartmann
You can have pipeline segments waiting for records, but they cannot wait for connexions (other than things like TCPLISTEN, but that is a different kind of connexion). Two general approaches: 1. If you know what data you will use to distribute the records among the processing pipeline

Re: [CMS-PIPELINES] Wikipedia and EBCDIC 037-2

2020-09-23 Thread John P. Hartmann
Problem is all those AMODE24 programs that go poking in them FSTs. On 9/23/20 04:14, Ray Mansell wrote: Ah, one of those little projects I never got to before retiring. I still have all my notes somewhere... Ray On 9/22/2020 17:14, Glenn Knickerbocker wrote: Only so useful, though, unless

Re: [CMS-PIPELINES] Replace single record in file

2020-09-12 Thread John P. Hartmann
EDF came as an add-on to VM/370 release 6 in 1979. Along with FBA support if memory serves. Alan is not doing justice to the designers. Being copy-on-write, it was the first CMS file system that had no leakage of disk blocks on crashes or power outages. CDF had the choice of trashed files or

Re: [CMS-PIPELINES] Replace single record in file

2020-09-11 Thread John P. Hartmann
On 9/11/20 14:07, John P. Hartmann wrote: There is no test case of the placement option with v2c. Turns out there was a single one and it had the wrong result. The interaction with STRIP also needed a loving hand.

Re: [CMS-PIPELINES] Replace single record in file

2020-09-11 Thread John P. Hartmann
On 9/11/20 01:00, Glenn Knickerbocker wrote: Uh-oh. I must never have tried THIS before: pipe literal 123| specs 1-* v2c 1.3 right | cons 1 That's just wrong. ¬R This is a bug that no-one has complained about before. The correct output is "123". That is, the placement has

Re: [CMS-PIPELINES] PIPE MEMBERS Anomaly ???

2020-09-09 Thread John P. Hartmann
http://vm.marist.edu/~pipeline/pipeline.pdf On 9/9/20 11:47, Lionel Dyck wrote: I'm shocked, shocked I tell you, to learn that PIPES in BPW is out of date. It's the best I have available at this point. The BPW pub isn't that useful for the most part so I'm getting by with pipe help and trial

Re: [CMS-PIPELINES] PIPE MEMBERS Anomaly ???

2020-09-09 Thread John P. Hartmann
Please refer to http://vm.marist.edu/~pipeline/ in particular http://vm.marist.edu/~pipeline/tsohelp.html On 9/9/20 12:23, Lionel Dyck wrote: Sadly PIPE AHELP results in this: 1 +++ nolib=readdir() IRX0043I Error running AHELP, line 1: Routine not found IRX0043I Error running AHELP, line

Re: [CMS-PIPELINES] PIPE MEMBERS Anomaly ???

2020-09-09 Thread John P. Hartmann
It calls a pipeline to read and deblock at line ends on the way in. And similarly on the way out. I don't think you will find that documented anywhere. On 9/9/20 07:09, Kris Buelens wrote: I never checked what.it did with BFS files

Re: [CMS-PIPELINES] PIPE MEMBERS Anomaly ???

2020-09-09 Thread John P. Hartmann
LISTPDS will give youo a list of members. Feed that to MEMBERS. On 9/9/20 10:08, Lionel Dyck wrote: Is there a way with PIPE MEMBERS to have it process all members? I've tried variations of these without success: 'pipe members test.pdse member * | stem x.' 'pipe listispf test.pdse | chop 8 |

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

2020-08-21 Thread John P. Hartmann
On 8/21/20 15:41, Alan Altmark wrote: It certainly obviates any concern about calling entry points. New entry points can simply be added to DMSNAM. As long as a module has the load map in it, entry points can always be called by NUCXLOADing the module and compute the address of the entry

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

2020-08-21 Thread John P. Hartmann
On 8/21/20 13:55, Alan Altmark wrote: NAMEFIND (DMSNAM) is where all the smarts are for processing a NAMES file, and that's where they need to stay, IMO. Mechanically, NAMEFIND is a MODULE, not kernel-resident, and that makes it impossible to have other commands call its entry points. Are you

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

2020-08-20 Thread John P. Hartmann
First of all, his stage name was El Bozo. An second you should hear Chick Corea's reading on "My Spanish Heart". On 8/20/20 19:39, David Boyes wrote: On 8/20/20, 12:23 PM, "CMSTSO Pipelines Discussion List on behalf of Alan Altmark" wrote: And I reject the "cruft" reference. The

Re: [CMS-PIPELINES] Learning Pipes (under TSO) ?

2020-04-18 Thread John P. Hartmann
Assuming you know TSO and basic CMS, the CMS library pipelines user's guide contains the information you require. You can find an older version of that book at http://vm.marist.edu/~pipeline/pipeline.pdf On 4/18/20 13:38, Lionel Dyck wrote: Is there a good presentation, handout,

Re: [CMS-PIPELINES] Need some help with pattern...

2020-04-18 Thread John P. Hartmann
Dave, assuming that the last hyphen within the quotes is the operative delimiter, this works with your sample: substr fs - f-1 of fs " f2 As for pattern, I think this is an example of what you are asking: (':kwd' rem):out/* Stage name Thus, your pattern could

Re: [CMS-PIPELINES] Updating a field in a STRUCTURE

2020-01-22 Thread John P. Hartmann
In the Author's Edition on Marist, please refer to p. 708 (physical 736) for the "Output Placement" track. You will see the Member as the penultimate choice in the first selection. I'd be rather surprised if the 7.x doc hasn't got it. On 1/22/20 18:27, David Boyes wrote: I’m not trying to

Re: [CMS-PIPELINES] Updating a field in a STRUCTURE

2020-01-22 Thread John P. Hartmann
pipe spec 1 m abc PIPQUA1395E Unqualified member name: abc. So you should be able to specify the member name as the output, but you must specify the keyword, "Member". On 1/22/20 16:14, David Boyes wrote: I have an application that defines a data structure using the STRUCTURE stage. I can

Re: [CMS-PIPELINES] pipe query source

2019-11-05 Thread John P. Hartmann
It has been there for quite some years. Quietly. You will not find any description anywhere. On 11/5/19 20:16, René Jansen wrote: I noticed that pipe q source puts an answer in the pipeline, but no message if there is no stream connected. I cannot find the ‘source’ option in the 6.4

Re: [CMS-PIPELINES] wishlist: STRFIND ASIS

2019-08-23 Thread John P. Hartmann
Surely locate 1.5 /a_b c/ does what you want and it won't tax you to learn anything new. On 8/23/19 00:38, Glenn Knickerbocker wrote: On 2019-08-22 12:03 PM, Rob van der Heij wrote: Wouldn't PICK 1+ == /abc/ do what you ask for? If I learned (and remembered) newfangled syntaxes like

Re: [CMS-PIPELINES] TFTP pipe stage

2019-08-09 Thread John P. Hartmann
I wrote a TFTP server for MVS in 1991 or thereabouts. I'll see what I can find tomorrow. No promises, but some hope. On 8/9/19 20:56, Dave Jones wrote: Does anyone happen to have a pipeline stage that implements the TFTP protocol that they would be willing to share? I thought I'd ask here

Re: [CMS-PIPELINES] VERIFY NOT

2019-06-14 Thread John P. Hartmann
Pass. 17 Dec 1997 +++ VERIFY NOT. Is all I can find. No doubt to emulate REXX verify( , 'match'). No mention in PIPELINE NEWS, so I suppose I decided it did not fly and left it at that. At the time I was, to say the least, busy elsewhere. Verify itself is from June 1994, as Finn has

Re: [CMS-PIPELINES] XEDIT and targets

2019-06-12 Thread John P. Hartmann
But suppose the record gets deleted by someone else? There really is no answer here. Even if you do SAVE/RESTORE to isolate changes to scope Bottom line: since cms 5.5, you can have only one XEDIT session within a virtual machine. (I could before, but the new storage management broke

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

2019-03-22 Thread John P. Hartmann
x Language Association? best regards, René Jansen. On 22 Mar 2019, at 12:54, John P. Hartmann wrote: How can you say that when it has not passed the pipelines regression test? Can you move at least pipelines REXX filters between VM and your workstation without change? On 3/22/19 17:49, René Ja

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

2019-03-22 Thread John P. Hartmann
How can you say that when it has not passed the pipelines regression test? Can you move at least pipelines REXX filters between VM and your workstation without change? On 3/22/19 17:49, René Jansen wrote: The implementation (by Ed Tomlinson) follows VM and is reasonably complete.

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

2019-03-22 Thread John P. Hartmann
i) No. ii) Waters: The Machine. On 3/22/19 11:50, amphitr...@ok.de wrote: 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

Re: [CMS-PIPELINES] Enabling the Trap Facility

2019-03-07 Thread John P. Hartmann
I was just looking at this since my memory is rusty, if not gone. Rob will have to correct this with module and nucleus extension names for z/VM 6.4 and on. If you are impatient, NUCXMAP will get you the name of the main module nucelus extension; the module name is likely DMSPIPE. The check is

Re: [CMS-PIPELINES] SPECS SELECT 1 surprise!

2019-02-27 Thread John P. Hartmann
This also works: specs select 0 select 1 1-* 1 You can even specs select 2 select 0 select 1 1-* 1 But as I said earlier, SYNCHRONISE is the way to pace streams without tears. On 2/27/19 00:28, Glenn Knickerbocker wrote: To pair up the records, I had to include something from the primary in

Re: [CMS-PIPELINES] SPECS SELECT 1 surprise!

2019-02-27 Thread John P. Hartmann
This is correct. "To perform a cycle, spec issues the items in the specification list from left to right. At the beginning of a cycle, spec synchronises the input streams it uses; that is, it peeks at all input streams it uses before issuing any specification items. This ensures that a record is

Re: [CMS-PIPELINES] SPECS SELECT 1 surprise!

2019-02-27 Thread John P. Hartmann
This is in fact a reference to uninitialised storage. You'd have got an addressing exception if you had enabled the storage checks (MSG 2048). On 2/27/19 02:16, Glenn Knickerbocker wrote: specs read select 1 1-* 1 Then I decided it would probably consume two records on the primary instead

Re: [CMS-PIPELINES] Punch and deblock

2019-01-25 Thread John P. Hartmann
OK, it is/was Friday. Stacker select x'42' should also be observed in case someone brought a real deck of cards to a real card reader. And remembered how to punch and ID card. And Michael, as of z/VM 6.4 you are allowed to simply |substr 2-*| rather than starting all of SPEC. Sort of like

Re: [CMS-PIPELINES] working with structures / typed data and individual bits

2019-01-01 Thread John P. Hartmann
Nocando. Manifest constants are numbers, not strings. On 1/1/19 20:42, Donald Russell wrote: pipe strliteral xc3 | specs q byte print bitand(x,bit7) u2x | cons

Re: [CMS-PIPELINES] NOSTOPERROR still stops :-(

2018-12-23 Thread John P. Hartmann
Forgive my bluntness, but sometimes it helps to read the manual. The pipeline option NOSTOPERROR is the default; you need it only to override a global option. It controls what happens after a stage terminates with an error. The article on COMMAND is equally clear that you need to define the

Re: [CMS-PIPELINES] SPECS IF ... comparing strings

2018-12-17 Thread John P. Hartmann
It has always been sin On 12/17/18 21:20, Michael Harding wrote: The last I knew, double-quotes were the only acceptable delineator for this construct but that may have changed.

Re: [CMS-PIPELINES] Wildcard searching

2018-10-31 Thread John P. Hartmann
Use CHOP 30|COPY|SPLIT|WILDCARD and JUXTAPOSE to prefix the remainder of the record by each word. It should be pretty easy to adapt WILDCARD to serach for the keyword, as you suggest. You'll have to do a bit of contortion to get the topology just right. I'm sure Rob can elaborate and also get

Re: [CMS-PIPELINES] Specs Variable

2018-08-08 Thread John P. Hartmann
As of z/VM 6.4, everyone can stuff a string into a counter. There are tons of examples in the chapter "specs reference". On 08/08/2018 10:40 AM, van Sleeuwen, Berry wrote: Hi All, I have a pipeline where I want to assign a variable during processing of the records. As long as that is a

Re: [CMS-PIPELINES] NOT help out of date

2018-04-14 Thread John P. Hartmann
Ah, Mike. Glenn wants to avoid a contorted pipeline topology, so what he is doing is passing the output from FANIN to the *secondary* output of NOT, which he can then later FANIN where he wants it. Chances are that this can be accomplished much more easily with IF. On 04/14/2018 07:57 AM,

Re: [CMS-PIPELINES] getting the RC from third party commands

2018-01-11 Thread John P. Hartmann
Whether the OP really needs to include asynchronous messages from a service machine or not in the command output, this is a valid scenario that should be addressed in general and examples in the relevant book; think, e.g., DIRMAINT.

Re: [CMS-PIPELINES] GLOBALV

2017-12-21 Thread John P. Hartmann
GET set a variable; it does not write to the console. This gripe is so obvious, but in future, could you please specify what you expect and what you achieved. Thank you. On 12/21/2017 06:00 PM, Gentry, Steve wrote: I'm not understanding something. Why does this work: GLOBALV SELECT SQL/DS

Re: [CMS-PIPELINES] Selection of content

2017-12-09 Thread John P. Hartmann
This works for me: Signal on novalue numeric digits 12 Address COMMAND 'PIPE (end \ name T)', '\literal x', '|literal abc', '|l:locate /*/', '|g: gate', '|hole', '\l:', '|buffer', '|g:', '|cons' Exit RC On 12/08/2017 11:36 PM, Rob van der Heij wrote: Sorry, I missed

Re: [CMS-PIPELINES] LEXX for Pipelines

2017-11-28 Thread John P. Hartmann
Alan, you are describing the ultimate aim for "the Plumbers' Workbench". A worktop where you can drag and drop stages and connect them. The pipeline end (the mere programming) is in place and is called "encoded pipeline". Alas, the gui seems to be done by a lot of other players, none of which

Re: [CMS-PIPELINES] split between a number and a letter

2017-11-06 Thread John P. Hartmann
I think I should use the 407. I'd first have a copy of the record where I'd xlate all numbers to, say, 0 and all letters so, say, a. I'd select the records by locate /0a/ and then in the 407 for those records i'd #0=pos("0a", record(1, 100)) and write the two parts of the record with an

Re: [CMS-PIPELINES] A better choice than Locate

2017-10-25 Thread John P. Hartmann
pick w1 ==/BUILD/ and w2 ==/ON/ On 10/25/2017 01:56 AM, Glenn Knickerbocker wrote: pick w1 ==/BUILD/ | pick w2 ==/ON/

Re: [CMS-PIPELINES] using IUCV sockets in a pipe stage

2017-09-02 Thread John P. Hartmann
First of all, you need to learn about CMSIUCV. Then perhaps check the return codes? I expect your hndiucv was rejected, because otherwise you just lost access to your SFS files. Use TRACE EXT to see IUCV interrupts. If this isn't a learning exercise, I suggest you let us know what you are

Re: [CMS-PIPELINES] FTP stage that does encryption?

2017-08-28 Thread John P. Hartmann
, Alan Altmark wrote: On Sunday, 08/27/2017 at 07:05 GMT, "John P. Hartmann" <jphartm...@gmail.com> wrote: If fd means filedescriptor, try pipe ahelp filedescriptor Since it's not in the list of supported states (pipe help), I have to be careful calling them out. But, yes, fd

Re: [CMS-PIPELINES] FTP stage that does encryption?

2017-08-27 Thread John P. Hartmann
If fd means filedescriptor, try pipe ahelp filedescriptor On 08/27/2017 07:40 PM, Alan Altmark wrote: USS is very much separate from MVS. CSL = Callable Services (Language). Google, man, google. Same goes for the Pipe storage stage. There are no stages I'm aware of that connect to an

Re: [CMS-PIPELINES] Not at all "dead"

2017-08-27 Thread John P. Hartmann
I have already sent my apologies to Dave. I checked my facts and decided that things were quite alive, but forgot to delete the offending sentence before I sent my append. On 08/27/2017 03:55 PM, Thomas David Rivers wrote: We've received a couple of notes from a mention on this e-mail list

Re: [CMS-PIPELINES] FTP stage that does encryption?

2017-08-27 Thread John P. Hartmann
Since Alan mentions other C implementations for CMS, I shall take the liberty of mentioning https://github.com/jphartmann/cmslib-exec refer to gcc390.pdf to see a description of how to cross-compile for CMS. The pipeline support for bfs does indeed use the BPX callable services. I had

Re: [CMS-PIPELINES] where is FPLNXF? (now PIPGDIR)

2017-07-08 Thread John P. Hartmann
it:-) Have a good weekend, too. DJ On 07/05/2017 12:41 PM, John P. Hartmann wrote: Not really, Dave. FPLNXF is compatible with DMSPFP, but it supports more/other. For example, it allows you to install your own functions for SPECs. On 07/05/2017 07:22 PM, Dave Jones wrote: OK, so this is the old "s

Re: [CMS-PIPELINES] where is FPLNXF?

2017-07-05 Thread John P. Hartmann
On 07/05/2017 11:52 AM, John P. Hartmann wrote: Dave, DMSPFP TEXT S ought to do it. Otherwise you should find them at Marist, but you might also look in your reader. On 07/05/2017 06:38 PM, Dave Jones wrote: Hello, all. I'm trying to write a PIPE stage in assembler but at the link step I g

Re: [CMS-PIPELINES] where is FPLNXF?

2017-07-05 Thread John P. Hartmann
Dave, To generate a filter package you must do LOAD and INCLUDE so as to make the glue module the start of the filter package, so GENOD ... ( FROM DMSPFP is de rigueur. On 07/05/2017 06:38 PM, Dave Jones wrote: Hello, all. I'm trying to write a PIPE stage in assembler but at the link step I

Re: [CMS-PIPELINES] where is FPLNXF?

2017-07-05 Thread John P. Hartmann
Dave, DMSPFP TEXT S ought to do it. Otherwise you should find them at Marist, but you might also look in your reader. On 07/05/2017 06:38 PM, Dave Jones wrote: Hello, all. I'm trying to write a PIPE stage in assembler but at the link step I get "FPLNXF undefined". I have done a: gl txtlib

Re: [CMS-PIPELINES] FPLSPX1086E Improper operand for string comparison

2017-06-27 Thread John P. Hartmann
3 Ready; T=0.01/0.01 13:26:02 -- Mike Harding z/VM System Support From: "John P. Hartmann" <jphartm...@gmail.com> To: CMS-PIPELINES@VM.MARIST.EDU Date: 06/28/2016 01:01 PM Subject: Re: Speaking of SPECS NUMBER Sent by: CMSTSO Pipelines Discussion List <CMS-PIPELINES@V

Re: [CMS-PIPELINES] FPLSPX1086E Improper operand for string comparison

2017-06-27 Thread John P. Hartmann
Speaking of SPECS NUMBER pipe literal *|dup 8|spec if #0=='' then set #0:=-5 else set #0+=1 endif print #0 n|Cons -5 -4 -3 -2 -1 0 1 2 3 Ready; T=0.01/0.01 13:26:02 -- Mike Harding z/VM System Sup

Re: [CMS-PIPELINES] Convert continuation character

2017-05-17 Thread John P. Hartmann
xlate 72 00-ff * blank blank On 05/17/2017 02:54 PM, Davis, Larry (National VM Capability) wrote: In an IOCP file Column 72 usually has an arbitrary character to represent that the next line is a continuation of this line. How can I use a Pipe to Change every line that has Something other

Re: [CMS-PIPELINES] HNDSVC

2017-05-08 Thread John P. Hartmann
addressing mode it was issued (better do the SVC below the bar, methinks). (Please pass this info on to Mikey in case he cares.) On 05/08/2017 06:39 AM, Alan Altmark wrote: On Wednesday, 05/03/2017 at 08:29 GMT, "John P. Hartmann" <jphartm...@gmail.com> wrote: HNDSVC sets up a

Re: [CMS-PIPELINES] Calculating square root

2017-04-21 Thread John P. Hartmann
In the meanwhile you could see if http://vm.marist.edu/~pipeline/#Runtime works for you. Totally unsupported. On 04/22/2017 02:00 AM, Donald Russell wrote: Thanks Rob, My first try was sqrt as part of spec but it didn't work, hence my question. I'll have to wait a couple of moths

Re: [CMS-PIPELINES] Capture rexx output with both CP and CMS commands

2016-11-29 Thread John P. Hartmann
This time of year on the Northern hemisphere, you will likely catch a cold. Otherwise, try it; you'll learn much better from correcting your mistakes on your own steam. On 11/29/2016 12:21 PM, Offer Baruch wrote: well, this worked just perfectly... i do have one more question... will the

Re: [CMS-PIPELINES] Capture rexx output with both CP and CMS commands

2016-11-28 Thread John P. Hartmann
Alan, CMS does not trap commands that are forwarded to CP by the default setting IMPCP on; nor explicitly by the CP command of CMS. I'd say SPOOL the console. Or perhaps read the manual. It is true that PIPE literal | starmsg | ... will do as requested, but I'm sure something will

Re: [CMS-PIPELINES] Label connections

2016-09-28 Thread John P. Hartmann
Leaving your home invented terminology aside, First time a label is used, it marks the stage that it refers to. Subsequent references are to additional streams for the stage that declared the label. Since the program to run has already been specified, subsequent references to the label must be

Re: [CMS-PIPELINES] Pipelines home page updated.

2016-07-24 Thread John P. Hartmann
that part is working. You might want to update the very last line on the page from: Updated by John P. Hartmann July 30, 2015. to today. The link "http://vm.marist.edu/~pipeline/pipsysf; is broken, it gets a 404 error. Have a good one. DJ

[CMS-PIPELINES] zlib compression

2016-06-30 Thread John P. Hartmann
https://github.com/jphartmann/cmslib-exec.git Now contains a self-contained zlib filter package ZLIBSTG MODULE in the vm archive fplgcc.vma. There is even ZLIB TXTLIB for the itrepid. Works even with the standard z/VM pipeline from sunny Endicott. Issue zlibstg to install it once you have

Re: [CMS-PIPELINES] Writing C filters

2016-06-29 Thread John P. Hartmann
Some time ago for release 3 Rob did the interface to bzip. On 06/29/2016 07:27 PM, Jonathan Scott wrote: I must admit I've never come across any other filters written in C.

  1   2   3   4   >