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

2022-08-11 Thread Hobart Spitz
Mike; I'm not sure what you are trying to do exactly. If you are trying write a dual mode program or if any reader gets the idea to do so, please reconsider. Unless something has changed since the last time I was on CMS, writing a program that is supposed to work when invoked under CMS and as a

Re: [CMS-PIPELINES] Where is the documentation for the IUCV stages?

2022-06-24 Thread Hobart Spitz
Are you familiar with PipeServ? It's a pre-written server that does things like logging, remote commands, timers, scheduling, etc. Whether it's useful to you as an example, or as a way to do what you want, it might be worth a look. One large bank I worked at is using it to trigger timed ftps.

Re: [CMS-PIPELINES] IF stage

2022-05-05 Thread Hobart Spitz
ipe. I’ve been using the if > stage at least since vm 6.4 and probably earlier. > > What does pipe query version show? > > > > On Thu, May 5, 2022 at 18:56 Hobart Spitz wrote: > > > I guess I wasn't clear. I'm not looking for the specs if, I'm looking > for &g

Re: [CMS-PIPELINES] IF stage

2022-05-05 Thread Hobart Spitz
of stages are not uncommon. REXX is the new C. On Thu, May 5, 2022 at 8:39 PM Rich Smrcina wrote: > If is part of spec, and it is well described in the CMS Pipelines > Reference. > > Sent from my iPad > > > On May 5, 2022, at 8:37 PM, Hobart Spitz wrote: > > > >

[CMS-PIPELINES] IF stage

2022-05-05 Thread Hobart Spitz
Long ago, in a far away galaxy, I saw a callpipe for the IF stage. Could I trouble someone to post that code? Thanks! OREXXMan Q: What do you call the residence of the ungulate with the largest antlers? A: A moose pad. :-D Would you rather pass data in move mode (*nix piping) or locate mode

[CMS-PIPELINES] Piping under ISPF

2021-11-10 Thread Hobart Spitz
Cross posted to IBM-MAIN, TSO REXX, and Pipelines. The ISPF stacking character can be set to "|", but TSO tries to execute the passed stack data after each command. If that could be disabled, data could be passed from program to program, providing a stack based piping capability. Does

[CMS-PIPELINES] Comparison of UNIX piping, Pipelines (and JOB) ALU usage.

2021-10-06 Thread Hobart Spitz
Cross posted to IBM-MAIN and CMSTSO-Pipelines lists. Overview: 1. An ALU (Arithmetic Logical Unit) load estimation shows CMS/TSO Pipelines is orders of magnitude more ALU efficient than UNIX piping. 2. UNIX piping is significantly better than JCL step-to-step data passing and,

Re: [CMS-PIPELINES] PIPElines vs. *nix

2018-06-13 Thread Hobart Spitz
018-06-13, at 07:18:40, Hobart Spitz wrote: > > > Cross posted to CMSTSO Pipelines and IBM-MAIN > > > > Someone shared with me a performance comparison between Pipelines vs. > > native *nix commands, both on OPENVM. > > > > Under the OPENVM shell, this comma

[CMS-PIPELINES] PIPElines vs. *nix

2018-06-13 Thread Hobart Spitz
Cross posted to CMSTSO Pipelines and IBM-MAIN Someone shared with me a performance comparison between Pipelines vs. native *nix commands, both on OPENVM. Under the OPENVM shell, this command ran 75 secs. with a 170M file in BFS: $ time cat m170file.data | wc -b This command, also under OPENVM

Re: [CMS-PIPELINES] GLOBALV

2017-12-21 Thread Hobart Spitz
How about something like: "pipe command GLOBALV SELECT SQL/DS GET DBNAME var1 var2 | hole | append literal dbname var1 vart2 ... | split | varfetch | " ? OREXXMan JCL is the buggy whip of 21st century computing. We want TSO Pipes NOW! On Thu, Dec 21, 2017 at 12:03 PM, Rob van der Heij

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

2017-11-02 Thread Hobart Spitz
... tokenize! verify!verify... No pipe on my phone. One verify for alphas, one for numerics. Maybe a bit more detail would help. On Nov 2, 2017 1:01 PM, "Glenn Knickerbocker" wrote: > To pick out PTF numbers from freeform text, I'm splitting on anything > that's not

Re: [CMS-PIPELINES] MOVIE XMASGIFT - Pipedemo - Web Edition

2017-08-24 Thread Hobart Spitz
Very nice. I didn't know a web version existed. I would ask myself what is the goal and target audience of the video: If the answer is an introduction for novices (which I doubt), then you might want shoot for more basics and simpler examples. Concerning the demo, is there some way, perhaps

Re: [CMS-PIPELINES] Convert continuation character

2017-05-17 Thread Hobart Spitz
pipe < input | i1: if pick 72 <> / / | spec 1-* 1 /+/ 72 | i1: | > output On Wed, May 17, 2017 at 8:54 AM, Davis, Larry (National VM Capability) < larry.dav...@dxc.com> wrote: > In an IOCP file Column 72 usually has an arbitrary character to represent > that the next line is a continuation of

Re: [CMS-PIPELINES] Pipethink and filtering. CP QUERY PATHS 0-FFFF

2017-03-23 Thread Hobart Spitz
sort f1 ", /* Back to original order. */ "| ", /* More processing */ "? c100: ", "| pick w1 \== /Online/ ", "| pick w2 \== /Available/

Re: [CMS-PIPELINES] Pipethink and filtering. CP QUERY PATHS 0-FFFF

2017-03-23 Thread Hobart Spitz
At first blush, I think this is a job for JUXTAPOSE. Assuming you're working with something like this: Device 0192, Status ONLINE CHPIDs to Device 0192 (PIM) : 11 12 1A 22 30 40 Physically Available (PAM) : + + + + + + Online (LPM) : - - + + + - Offline by

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

2016-11-29 Thread Hobart Spitz
Offer, et al: If some of your users can tolerate some changes, and the CP command of CMS is already used in many of the other places, consider something like the following: CP EXEC: /* REXX- Trap CP output for CMS stage. */ "pipe cp" arg(1) "| cons" return RC In addition to simplicity, this

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

2016-11-28 Thread Hobart Spitz
Sounds a bit painful. Should there be a builtin stage to do this? On Mon, Nov 28, 2016 at 2:16 PM, Rob van der Heij wrote: > > I am trying to capture the output of a Rexx exec. the Rexx contains both > > CMS and CP commands... > > I would like to capture this output

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

2016-10-31 Thread Hobart Spitz
I use BROWSE often. At the risk of throwing a monkey wrench into the works, I'll add a few comments. First, BROWSE hangs on a disconnected machine. When I think there is a chance of, that I use a wrapper that chooses between CONS and BROWSE based on the connectedness of the current user

[CMS-PIPELINES] BROWSE stage under FullScreen CMS

2016-05-26 Thread Hobart Spitz
Hello all; Does anyone know of a way to convince the BROWSE stage to use the VSCREEN width of the current window? Making the VSCREEN wider than the physical screen allows left/right scrolling of CONSOLE output, but not with BROWSE. Thanks in advance. -- OREXXMan

Re: [CMS-PIPELINES] About DELAY after SET TIMEZONE

2016-04-08 Thread Hobart Spitz
I think that if you clearly document the distinction, then I would think that different behaviors for +hh:mm versus hh:mm would make sense. An alternative/additional solution, possibly too much trouble, would be to add a timezone to the time specification: E.g. 10:30-EST, 18:15-CDT, etc. Why

Re: [CMS-PIPELINES] PIPFRE122E Insufficient free storage

2016-02-26 Thread Hobart Spitz
l commands ending with a negative return code are traced. > PIPE does a very good job in producing negative return codes for syntax > errors and alike. > > > Kris Buelens, > --- freelance z/VM consultant, Belgium --- > ------

Re: [CMS-PIPELINES] PIPFRE122E Insufficient free storage

2016-02-26 Thread Hobart Spitz
Would it be feasible to default NAME to something like UsedName.ExecType.sigl for Rexx programs? UsedName could be word 6 of PARSE SOURCE and ExecType could be word 4. sigl would be the setting from the last CALL/function invocation. I something like this, and i never have a question where to

Re: [CMS-PIPELINES] printonly eof does not by itself force a run-out cycle

2016-02-19 Thread Hobart Spitz
Agreed. As I said, these were off-the-cuff comments. I wasn't thinking about porting between a real 407 and pipes. I was thinking about keeping consistent with the model architecture being emulated for the sake of the humans who have to understand 407E, a non-trivial task. "Simply resisting

Re: [CMS-PIPELINES] printonly eof does not by itself force a run-out cycle

2016-02-19 Thread Hobart Spitz
Rob; Two off-the-cuff comments: I'm really rusty on the interaction between the various 407E features. I think it's possible that this is consistent with the actual 407. Second, there may be breakage if you "fix" this. There may be pipes out there that are using this behaviour, either

Re: [CMS-PIPELINES] How would I approach this?

2016-01-28 Thread Hobart Spitz
Have you considered something like: pipe < input.file | join x05 | specs a: f1 . b: substr 8-14 of f2 . 1-* 1 print a+b 8-14 r | > output.file We combine the records pairwise as two fields, making them easier to process, and then we do what we want on the compound record. I hope this helps. On

Re: [CMS-PIPELINES] Funny finding

2016-01-04 Thread Hobart Spitz
I personally would prefer a stage option rather than a configuration option. If a new module expected one behavior and a legacy, reused module, especially a user stage, expected the other, there might be an unresolvable conflict between the two approaches. On Mon, Jan 4, 2016 at 11:47 AM, John

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

2015-11-07 Thread Hobart Spitz
If your requirements are simple, BROWSE CC can produce a few colors, ans you get scroll and find builtin. On Nov 6, 2015 11:26 AM, "John P. Hartmann" wrote: > Depends on which type of colour you want. See OVERSTR/BUILDSCR and QDI > XEDIT (building a data stream using

Re: [CMS-PIPELINES] Conditional reblocking. Or something like that.

2015-05-06 Thread Hobart Spitz
You could use some thing like: PIPE (END ?) ... | F: FANINANY | L: STRFIND /DA/ | S1: SPECS 1-1071 1 SELECT OUTPUT 1 1072-* 1 | ... ? S1: | F: ? L: | S2: SPECS 1-1114 1 SELECT OUTPUT 1 1115-* 1 | F: ? S2: | F: If you don't like shunts, IF can used at S1, and S2. If you need to preserve record

Re: [CMS-PIPELINES] misleading message from ALL with null string

2015-05-06 Thread Hobart Spitz
I found this is my drafts folder. Sorry to post it 18 months late, but I think this still has value. --- For what it's worth, I think the real issue is with the hex string syntax not allowing the specification of a null string. In order to support any user string, including a null

Re: [CMS-PIPELINES] PipeServ Fix Request

2014-05-15 Thread Hobart Spitz
by CP. Since 240 bytes is all that CP supports via diag 8, there is no fix possible in pipelines. Or maybe I didn't understand your problem with pipeserv? On Thu, May 15, 2014 at 3:03 PM, Hobart Spitz orexx...@gmail.com wrote: If anyone has a fix for this problem, which causes PipeServ

[CMS-PIPELINES] REXX Symposia 2014 2015

2014-05-09 Thread Hobart Spitz
Posted to multiple lists. The 2014 REXX Symposium, in Memphis TN, has just concluded. While most were from the U.S.A., some attendees connected remotely from the U.K. and Australia and others attended in person from as far away as Holland and Austria. It was a great learning experience for REXX

Re: [CMS-PIPELINES] FW: Suggestion: Null Strings

2014-01-24 Thread Hobart Spitz
Trying again, without the formatting. (John, not sure if you got this.) As we know, to embed a value that could include any character we use “… x”c2x(UserInput)”…”. If the value could also be an null string, it’s a bit harder. “… x”PipStr(UserInput)”…” ...

Re: [CMS-PIPELINES] FTP REXX

2013-07-08 Thread Hobart Spitz
. For my purpose, I have been a happy camper with FTP_REXX, which definitely makes my life easier... John -Original Message- From: CMSTSO Pipelines Discussion List [mailto:CMS-PIPELINES@VM.MARIST.EDU] On Behalf Of Hobart Spitz Sent: Sunday, July 07, 2013 9:18 AM To: CMS-PIPELINES

[CMS-PIPELINES] FTP REXX

2013-07-07 Thread Hobart Spitz
Does anyone know the status of FTP REXX? It's marked as new on the Pipes web page, but the doc and change history dates are more than 10 years old. Is anyone using it? Does anyone know if it still works? Can FTP REXX run under PipeServ? Can multiple instances run successfully at the same

Re: [CMS-PIPELINES] FTP REXX

2013-07-07 Thread Hobart Spitz
Message- From: CMSTSO Pipelines Discussion List [mailto:CMS-PIPELINES@VM.MARIST.EDU] On Behalf Of Hobart Spitz Sent: Sunday, July 07, 2013 4:46 AM To: CMS-PIPELINES@VM.MARIST.EDU Subject: FTP REXX Does anyone know the status of FTP REXX? It's marked as new on the Pipes web page