Re: [CMS-PIPELINES] pervasive plumbing and past projects

2024-06-27 Thread Rick Troth
hat it was *not* another CMS Pipelines talk.) This implementation uses standard Unix/POSIX services to effect controlled flow and multiple streams. It does not require Java. Stages run as ordinary Unix/Linux programs and can be written in any language. Most stages are written in C, but there is a sa

Re: [CMS-PIPELINES] pervasive plumbing and past projects

2024-06-17 Thread Rick Troth
ing of the producer how many bytes are coming and signalling when it is ready to receive. So using a pair of Thompson/McIlroy pipes we can effect a Hartmann connector. This works. It's not CMS Pipelines. It's merely another attempt to mimic the behavior. My goal was to avoid the JVM. I als

Re: [CMS-PIPELINES] pervasive plumbing and past projects

2024-06-11 Thread Lionel B. Dyck
- John Wooden -Original Message- From: CMSTSO Pipelines Discussion List On Behalf Of Berry van Sleeuwen Sent: Tuesday, June 11, 2024 9:36 AM To: CMS-PIPELINES@VM.MARIST.EDU Subject: Re: [CMS-PIPELINES] pervasive plumbing and past projects Hi Rick, Probably you already know these. There was a di

Re: [CMS-PIPELINES] pervasive plumbing and past projects

2024-06-11 Thread Berry van Sleeuwen
Hi Rick, Probably you already know these. There was a discussion on PC-Pipes a few years ago on this list as well. Unfortunatly, when looking for the sources it's very hard to find the original locations, if they still exist at all. Google is not your friend in this case, it presents a lot of unr

Re: [CMS-PIPELINES] pervasive plumbing and past projects

2024-06-10 Thread Kris Buelens
I've got 2 versions on Windows - The one I often use (mainly in my REXX code to maintain my photo's): This document describes OS/2 Pipelines version 0.99 for OS/2 and version 1.00.52 for Windows and AIX. The OS/2 version is available as OS2PIPE package on the OS2TOOLS repository.

[CMS-PIPELINES] pervasive plumbing and past projects

2024-06-09 Thread Rick Troth
hello gang -- I've been trying to gather a list of pipelines implementations apart from CMS/TSO. Specifically, I know about NetRexx Java Pipes, and I think there was another Java implementation. I also found an implementation in Swift. Are there others? This is my current question. I'm scheduled

Re: [CMS-PIPELINES] PIPE vs timestamp math

2024-05-17 Thread Rob van der Heij
I like this with an extra REXX stage. But you could also use the "x2t" conversion in SPEC and then use "greg2sec" for the full seconds part, and divert the fraction for the microseconds. /* TIMEDIFF REXX Compute difference between two TOD clocks */ /* Author: Rob van de

[CMS-PIPELINES] PIPE vs timestamp math

2024-05-17 Thread Stanislawski, Shawn
I have a file containing job start and finish times, as a pair of TODABS values per line. I would like to calculate the delta between the second TODABS value and the first TODABS value, and output in format dd:hh:mm:ss.uu How would this be possible using PIPE? (I figure the SPEC stage is pro

Re: [CMS-PIPELINES] I guess that's that?

2024-05-17 Thread Lionel B. Dyck
you are, reputation merely what others think you are.” - - - John Wooden -Original Message- From: CMSTSO Pipelines Discussion List On Behalf Of Phil Smith III Sent: Friday, May 17, 2024 8:35 AM To: CMS-PIPELINES@VM.MARIST.EDU Subject: [CMS-PIPELINES] I guess that's that? https://ibm-

[CMS-PIPELINES] I guess that's that?

2024-05-17 Thread Phil Smith III
https://ibm-z-hardware-and-operating-systems.ideas.ibm.com/ideas/ZOS-I-3103

Re: [CMS-PIPELINES] PICK and field

2024-05-09 Thread Rob van der Heij
You're right. Locate fs 5e f6 /a/ is it, but you can do great things with substr On Thu, May 9, 2024, 14:00 James Vincent wrote: > Rob, you didn't really want that "substr" in there, did you? It won't work > as shown anyway. > > -- *James Vincent* > > > On Thu, May 9, 2024 at 7:33 AM Rob van de

Re: [CMS-PIPELINES] PICK and field

2024-05-09 Thread James Vincent
Rob, you didn't really want that "substr" in there, did you? It won't work as shown anyway. -- *James Vincent* On Thu, May 9, 2024 at 7:33 AM Rob van der Heij wrote: > It's locate instead > > locate fs 5e substr f2 /a/ > > For 'a' anywhere in field 2 > >

Re: [CMS-PIPELINES] PICK and field

2024-05-09 Thread Rob van der Heij
It's locate instead locate fs 5e substr f2 /a/ For 'a' anywhere in field 2 On Thu, May 9, 2024, 12:11 Alain Benvéniste wrote: > Hi, > > I would like to select records where the target is found in a field. > So I thought to use PICK. > > Input file is : > a;a;a;a;a;zaz;a;a;a;a > > The pipe : >

Re: [CMS-PIPELINES] PICK and field

2024-05-09 Thread James Vincent
You will probably want to use LOCATE FS 5E F6 /a/ instead of the PICK. That will locate any "a" within field 6 of the string(s). -- *James Vincent* On Thu, May 9, 2024 at 6:11 AM Alain Benvéniste wrote: > Hi, > > I would like to select records where the target is found in a field. > So I tho

[CMS-PIPELINES] PICK and field

2024-05-09 Thread Alain Benvéniste
Hi, I would like to select records where the target is found in a field. So I thought to use PICK. Input file is : a;a;a;a;a;zaz;a;a;a;a The pipe : "PIPE < A A A", "! PICK FIELDSEparator 5E /a/ IN Fields6.1", "! CONSole" The error : FPLPIC687E Relationa

Re: [CMS-PIPELINES] first group of matching records

2024-04-15 Thread Rob van der Heij
You could probably use "fillup" before the "gate" if you want to avoid a gate-dam setup. But I think this one is cute as well 'addpipe (end \ name GREG1.REXX:7)', '\ *: ', '| o: not fanout ', '| d: deal secondary latch ', '| *: ', '\ o: ', '| unique' range 'first',/* Iden

[CMS-PIPELINES] first group of matching records

2024-04-12 Thread Glenn Knickerbocker
Is there anything I'm overlooking that would simplify selecting records up to where a column changes? This does it, but doesn't help if I want the rest of the file on another stream: (end /) ... | first: unique ... first | skip: drop 1 | stop: gate / skip: | rest: fanin | stop: | ... / first: |

[CMS-PIPELINES] TEST of updated Email server security Config

2024-04-07 Thread Steve Thompson
This is a test of email after changing "security" settings of my email domain. Just ignore this please. -- Regards, Steve Thompson

Re: [CMS-PIPELINES] >SFS ERROR 1180

2023-12-14 Thread Donald Russell
ark > IBM Senior z/VM Engineer and Consultant > 1 607 321 7556 (Mobile) > alan_altm...@us.ibm.com > > > -Original Message- > > From: CMSTSO Pipelines Discussion List > > On Behalf Of Rob van der Heij > > Sent: Thursday, December 14, 2023 4:30 AM > &g

Re: [CMS-PIPELINES] >SFS ERROR 1180

2023-12-14 Thread Alan Altmark
cember 14, 2023 4:30 AM > To: CMS-PIPELINES@VM.MARIST.EDU > Subject: [EXTERNAL] Re: [CMS-PIPELINES] >SFS ERROR 1180 > > On Thu, 14 Dec 2023 at 08:45, Kris Buelens wrote: > > > I have some relatively vague memories that someone with SFS admin > > rights could connect

Re: [CMS-PIPELINES] >SFS ERROR 1180

2023-12-14 Thread Donald Russell
In our case the web server does depend on SFS. The entire document tree is sfs as well as the web server code itself. The >SFS stage accepts a work unit number…. So I looked at DMSGETWU. It clearly states the issuing id must be an SFS administrator to specify the userid to act as. S, I’m goi

Re: [CMS-PIPELINES] >SFS ERROR 1180

2023-12-14 Thread Kris Buelens
If the webserver does not depend on accessed SFS directories you could also consider using DMSPURWU to break all connections with SFS before you issue Diag D4, then >SFS will connect with the alternate userid, and after Diag D4 reset, issue DMSPURWU again. I'll send you my SFSDISC EXEC Kris Buelen

Re: [CMS-PIPELINES] >SFS ERROR 1180

2023-12-14 Thread Donald Russell
Is making the web servers sfs admins the correct solution? I can do that and “query auth” to limit access as needed. The application will still use diag d4 to influence cp link and the spool orig id when it sends files tother users. (This application links to other mdisks and I need that to be ba

Re: [CMS-PIPELINES] >SFS ERROR 1180

2023-12-14 Thread Rob van der Heij
On Thu, 14 Dec 2023 at 08:45, Kris Buelens wrote: > I have some relatively vague memories that someone with SFS admin rights > could connect to SFS using different authorities concurrently. > Thinking a bit deeper: the FTP server uses this during an FTP PUT or GET > with SFS. I don't think it use

Re: [CMS-PIPELINES] >SFS ERROR 1180

2023-12-13 Thread Kris Buelens
I have some relatively vague memories that someone with SFS admin rights could connect to SFS using different authorities concurrently. Thinking a bit deeper: the FTP server uses this during an FTP PUT or GET with SFS. I don't think it uses Diag D4 to start talking to SFS. Kris Buelens, --- V

Re: [CMS-PIPELINES] >SFS ERROR 1180

2023-12-13 Thread Donald Russell
Yes, I use >SFS explicitly and the directory is not currently accessed. I rely on >SFS to write to the sfs file space without it being accessed. The diag d4 is done just before the pipe command. It’s rather dynamic because the userid is running a web server application that requires authentication

Re: [CMS-PIPELINES] >SFS ERROR 1180

2023-12-13 Thread Rob van der Heij
On Thu, 14 Dec 2023 at 05:40, Donald Russell wrote: > > Thanks Rob, > Since >SFS uses a private work unit by default, doesn’t that mean it gets a > new work unit before connecting to the sfs server? Diag d4 is done before > the pipe command, so I’m expecting the new connection to appear to initia

Re: [CMS-PIPELINES] >SFS ERROR 1180

2023-12-13 Thread Donald Russell
r > userid > > doesn't affect operations over the existing connection. Workunits create > > new connections. See DMSPUSWU and DMSPOPWU so that you can change the > > default workunit. > > > > With CMS Pipelines you don't tweak the default work unit because fo

Re: [CMS-PIPELINES] >SFS ERROR 1180

2023-12-13 Thread Donald Russell
; 1 607 321 7556 (Mobile) > alan_altm...@us.ibm.com > > > -Original Message- > > From: CMSTSO Pipelines Discussion List > > On Behalf Of Donald Russell > > Sent: Wednesday, December 13, 2023 4:13 PM > > To: CMS-PIPELINES@VM.MARIST.EDU > > Subject:

Re: [CMS-PIPELINES] >SFS ERROR 1180

2023-12-13 Thread Rob van der Heij
kunits create > new connections. See DMSPUSWU and DMSPOPWU so that you can change the > default workunit. > With CMS Pipelines you don't tweak the default work unit because for anything beyond trivial pipes, you don't know when files are created or changed. The SFS device driver has optio

Re: [CMS-PIPELINES] >SFS ERROR 1180

2023-12-13 Thread Alan Altmark
2023 4:13 PM > To: CMS-PIPELINES@VM.MARIST.EDU > Subject: [EXTERNAL] [CMS-PIPELINES] >SFS ERROR 1180 > > A userid has its ALTUSER set to a different id. (Diag D4)Then a pipe … | > >SFS …. > tries to write to a space the alt user is authorized for, but the stage fails > with

[CMS-PIPELINES] >SFS ERROR 1180

2023-12-13 Thread Donald Russell
A userid has its ALTUSER set to a different id. (Diag D4)Then a pipe … | >SFS …. tries to write to a space the alt user is authorized for, but the stage fails with error 1180 Not authorized. Instead of >SFS, I also tried VMLINK .DIR … ( WRITE NONAME INVOKE MODULE PIPE … | Name type .FM V oddly t

Re: [CMS-PIPELINES] z/VM 7.2 tcpclient not getting response

2023-08-15 Thread Rob van der Heij
On Tue, 15 Aug 2023 at 18:11, Donald Russell wrote: > Using the hole/elastic/fanin trick worked. > > We’ll, that’s hitting the code with the ugly stick isn’t it? Lol. > > I’m hoping that’s a “bug?” related to linger not lingering properly. > > Seriously, thanks for the workaround. > > Cheers, > D

Re: [CMS-PIPELINES] z/VM 7.2 tcpclient not getting response

2023-08-15 Thread Donald Russell
Using the hole/elastic/fanin trick worked. We’ll, that’s hitting the code with the ugly stick isn’t it? Lol. I’m hoping that’s a “bug?” related to linger not lingering properly. Seriously, thanks for the workaround. Cheers, Don On Tue, Aug 15, 2023 at 02:44 Rob van der Heij wrote: > I suspe

Re: [CMS-PIPELINES] z/VM 7.2 tcpclient not getting response

2023-08-15 Thread Rob van der Heij
On Tue, 15 Aug 2023 at 14:17, Alan Altmark wrote: > That’s not just SSL. Only the app knows when it has received all the data. > Only then should it close the socket. So an app waits for a certain > amount of time or until it gets and end-of-data indicator. That might be a > specific byte seque

Re: [CMS-PIPELINES] z/VM 7.2 tcpclient not getting response

2023-08-15 Thread Alan Altmark
That’s not just SSL. Only the app knows when it has received all the data. Only then should it close the socket. So an app waits for a certain amount of time or until it gets and end-of-data indicator. That might be a specific byte sequence or it might be a closed connection (eg ftp). There i

Re: [CMS-PIPELINES] z/VM 7.2 tcpclient not getting response

2023-08-15 Thread Rob van der Heij
I suspect this is a feature of the VM SSL implementation to close the inbound socket when the application closes the outbound connection, discarding any data that is in transit outside or in the SSL path. That happened initially also in the other direction, but I was able to change some minds becau

Re: [CMS-PIPELINES] z/VM 7.2 tcpclient not getting response

2023-08-14 Thread Donald Russell
I also use the linger 10 and timeout 15 options on tcpclient. Typo in the original message: should be I CANNOT explain why one works and the other doesn’t. On Mon, Aug 14, 2023 at 16:48 Donald Russell wrote: > I wrote a CMS exec to send an http post request using the tcpclient pipe > stage. >

[CMS-PIPELINES] z/VM 7.2 tcpclient not getting response

2023-08-14 Thread Donald Russell
I wrote a CMS exec to send an http post request using the tcpclient pipe stage. When I use port 80 everything works as expected. I get the http response and so on. If I change to use port 443 and specify the secure getsecinfo options, the request goes to the web server, the secinfo data shows tl

Re: [CMS-PIPELINES] where are the FPLKWDTB, FPLEPTBL, and FPLMSGTB execs?

2023-05-22 Thread Dave Jones
t; >> Hello, all. I am trying to follow the instructions on how to build a >> Rexx function package documented in Appendix E of the CMS Pipelines >> User's Guide and Reference. I can't find the execs (listed above) that >> are used in the appendix. Any idea where they m

Re: [CMS-PIPELINES] where are the FPLKWDTB, FPLEPTBL, and FPLMSGTB execs?

2023-05-21 Thread Rob van der Heij
ld a > Rexx function package documented in Appendix E of the CMS Pipelines > User's Guide and Reference. I can't find the execs (listed above) that > are used in the appendix. Any idea where they might be? > > Many thanks, too. > > DJ > -- > BEST REGARDS > &g

[CMS-PIPELINES] where are the FPLKWDTB, FPLEPTBL, and FPLMSGTB execs?

2023-05-21 Thread Dave Jones
Hello, all. I am trying to follow the instructions on how to build a Rexx function package documented in Appendix E of the CMS Pipelines User's Guide and Reference. I can't find the execs (listed above) that are used in the appendix. Any idea where they might be? Many thanks, too.

[CMS-PIPELINES] SFS error with pipelines

2023-05-17 Thread DeWayne Thomas
Greetings,     I have a problem I can't figure out.  I have a REXX module (actually a web CGI) that during it's processing, reads/writes a user profile to SFS several times during execution.  I've recently started getting an error from the pipe with rc=740 (DMSQRQ1157E Work unit already activ

Re: [CMS-PIPELINES] split at a column

2023-03-22 Thread Rob van der Heij
On Wed, 22 Mar 2023 at 12:09, John P. Hartmann wrote: > 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

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 thou

Re: [CMS-PIPELINES] split at a column

2023-03-22 Thread Rob van der Heij
On Wed, 22 Mar 2023 at 01:56, Glenn Knickerbocker wrote: > Partly because they're all solutions to different things. I have a bad > habit of editing out too much of what I think is repetitive, leaving > things confusingly out of context. > > Here's my original statement: > > > I had records to

Re: [CMS-PIPELINES] split at a column

2023-03-21 Thread Glenn Knickerbocker
On 3/21/2023 6:43 PM, Rob van der Heij wrote: > After all your solutions, I still don't understand what you were trying to > do. Partly because they're all solutions to different things. I have a bad habit of editing out too much of what I think is repetitive, leaving things confusingly out of co

Re: [CMS-PIPELINES] split at a column

2023-03-21 Thread Rob van der Heij
On Tue, 21 Mar 2023 at 23:27, Glenn Knickerbocker wrote: > pipe literal asdfasdfasdf|split 5 before not 00-ff|cons|chop 5 before > not 00-ff|cons > After all your solutions, I still don't understand what you were trying to do.

Re: [CMS-PIPELINES] split at a column

2023-03-21 Thread Glenn Knickerbocker
On 3/18/2023 9:29 AM, John P. Hartmann wrote: > 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. Turns out using a number with it doesn't work as I imagined anyway,

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] split at a column

2023-03-18 Thread Glenn Knickerbocker
On Fri, 17 Mar 2023 16:56:25 +0100, Rob wrote: >On Fri, 17 Mar 2023 at 16:51, Glenn Knickerbocker wrote: >> ... | split -80 before 00-ff 1 | ... >So you want to split 80 from the right? No, -80 BEFORE is just 79 AFTER plus the one character matched by the xrange. The tiny trick of using BEFORE

Re: [CMS-PIPELINES] split at a column

2023-03-17 Thread Rob van der Heij
On Fri, 17 Mar 2023 at 16:51, Glenn Knickerbocker wrote: > ... | split -80 before 00-ff 1 | ... > So you want to split 80 from the right? Is that .. | x: if chop -80 | x: | ... ?

[CMS-PIPELINES] split at a column

2023-03-17 Thread Glenn Knickerbocker
I had records to split at column 80 and I knew they weren't longer than 160, so DEBLOCK FIXED 80 did the job. What if the right part might be longer than the left? CHOP|GATHER|LOCATE seemed like overkill. I realized SPLIT would do it, given two tiny tricks: * Split once at a number of columns a

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

2023-03-16 Thread Glenn Knickerbocker
On 3/16/2023 6:38 PM, Rob van der Heij wrote: > KEEP to include the line end characters in the output stream? Would you > also need a BEFORE and AFTER, or is it good enough to just have them at the > end? You could use STRIP TRAILING ANYOF with the same set. I picture wanting them at the end of th

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

2023-03-16 Thread Rob van der Heij
On Thu, 16 Mar 2023 at 23:29, Glenn Knickerbocker wrote: > On 3/16/2023 4:46 PM, Rob van der Heij wrote: > > alternatives (with preference for the first one) > > - line end is any unique sequence of the specified characters, so if you > > specify the CR and LF as candidate, then CR, LF, CR LF, an

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

2023-03-16 Thread Glenn Knickerbocker
On 3/16/2023 4:46 PM, Rob van der Heij wrote: > alternatives (with preference for the first one) > - line end is any unique sequence of the specified characters, so if you > specify the CR and LF as candidate, then CR, LF, CR LF, and LF CR are all > one single end of line, but CR CR would imply a n

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

2023-03-16 Thread Rob van der Heij
On Thu, 16 Mar 2023 at 22:33, Paul Gilmartin wrote: > > Otherwise, the format of the record separator might be an optional > parameter to your program. > We already have the ability to specify the line-end character or string. The discussion was about when you don't know in advance what convent

Re: [CMS-PIPELINES] juxtapose with next

2023-03-16 Thread Glenn Knickerbocker
On 3/16/2023 4:55 PM, Rob van der Heij wrote: > I guess that's why you don't want to process the entire thing backwards, You know, I never even thought of that. As long as I can buffer the whole file, that's certainly straightforward! In this case, I also want the list items at the front of the

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

2023-03-16 Thread Paul Gilmartin
On 3/16/23 14:46:04, Rob van der Heij wrote: ... Yes, I think we all realized the ambiguity. I was considering these alternatives (with preference for the first one) - line end is any unique sequence of the specified characters, so if you specify the CR and LF as candidate, then CR, LF, CR L

Re: [CMS-PIPELINES] juxtapose with next

2023-03-16 Thread Rob van der Heij
On Thu, 16 Mar 2023 at 21:29, Glenn Knickerbocker wrote: > I was really thinking of the more general case where the list is already > in separate records to start with. I guess the thing to do would be to > inject a null record into the list after each container record, and use > BUFFER 1 to bu

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

2023-03-16 Thread Rob van der Heij
On Thu, 16 Mar 2023 at 21:29, Glenn Knickerbocker wrote: > Figuring out the reasonable assumptions to make to make that decision is > the biggest part of what I meant by "getting it right." > Yes, I think we all realized the ambiguity. I was considering these alternatives (with preference for th

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

2023-03-16 Thread Glenn Knickerbocker
On 3/13/2023 7:41 PM, Paul Gilmartin wrote: > The problem is not well-posed.  Consider >     Foo >     >     >     Bar > Is that two records, or three with a null record between the and > the . Figuring out the reasonable assumptions to make to make that decision is the biggest part of what I m

Re: [CMS-PIPELINES] juxtapose with next

2023-03-16 Thread Glenn Knickerbocker
On 3/15/2023 10:49 AM, John P. Hartmann wrote: > If we are speaking two records, wouldn't SPEC be able to do what you want? Yes, since the lists are joined into single records, I was able to use SPECS to swap the order and then CHOP|SPLIT|JUXTAPOSE to split up the lists and juxtapose each item wit

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

2023-03-16 Thread Glenn Knickerbocker
On 3/15/2023 1:28 AM, Rob van der Heij wrote: > Splitting a record with no words will pass the record (see example in usage > note :-) Right, and in that case it was a real null line in the input ...0a0a..., so it hasn't added any *extra* null records. ¬R

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 last

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

2023-03-14 Thread Rob van der Heij
Splitting a record with no words will pass the record (see example in usage note :-) On Wed, 15 Mar 2023 at 01:13, Glenn Knickerbocker wrote: > On Tue, 14 Mar 2023 08:07:15 +0100, Rob wrote: > >On Tue, 14 Mar 2023 at 00:44, Donald Russell > wrote: > >> —> ... | deblock linend 0a | split 0d |

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

2023-03-14 Thread Glenn Knickerbocker
On Tue, 14 Mar 2023 08:07:15 +0100, Rob wrote: >On Tue, 14 Mar 2023 at 00:44, Donald Russell wrote: >> —> ... | deblock linend 0a | split 0d | ... >> Could that cause extra lines? >Yes, it does. I didn't find a case where SPLIT created any extra null records. It will *lose* null lines if ther

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

2023-03-14 Thread Rob van der Heij
On Tue, 14 Mar 2023 at 16:59, John P. Hartmann wrote: > 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 su

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 fro

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

2023-03-14 Thread Rob van der Heij
On Tue, 14 Mar 2023 at 15:56, John P. Hartmann wrote: > A more reliable way to remove just one cr from either end might be > something like > > change (1 -1) x0d // > 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

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] deblocking with various possible linends

2023-03-14 Thread Rob van der Heij
On Tue, 14 Mar 2023 at 00:44, Donald Russell wrote: > —> ... | deblock linend 0a | split 0d | ... > > Could that cause extra lines? > Yes, it does. I agree removing a trailing x0d would have done. But the challenge we see is that a file with just CR will buffer the input before splitting. I've

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

2023-03-13 Thread Donald Russell
—> ... | deblock linend 0a | split 0d | ... Could that cause extra lines? If you know the data has crlf or lfcr or just lf but never just cr then … deblock 0a | strip both 0d | … I suspect strip is more efficient than split because split has to scan entire record, where as strip starts at each

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

2023-03-13 Thread Paul Gilmartin
On 3/13/23 16:41:47, Glenn Knickerbocker wrote: Anyone have an idiom for deblocking and translating a file in ASCII that may have either or both of CR and LF (*), ... The problem is not well-posed. Consider Foo Bar Is that two records, or three with a null record between the

[CMS-PIPELINES] juxtapose with next

2023-03-13 Thread Glenn Knickerbocker
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 last. The lists are actually already joined up into a single record, so I can join the container to the list, move it to the s

[CMS-PIPELINES] deblocking with various possible linends

2023-03-13 Thread Glenn Knickerbocker
(Copied here from an IBM internal discussion because I should have come here first anyway:) Anyone have an idiom for deblocking and translating a file in ASCII that may have either or both of CR and LF (*), and may be split into records, without unnecessarily buffering the whole file? The possibi

Re: [CMS-PIPELINES] Convert to bit value in Specs

2023-01-04 Thread Berry van Sleeuwen
rüßen, Berry van Sleeuwen Flight Forum 3000 5657 EW Eindhoven -Original Message- From: CMSTSO Pipelines Discussion List On Behalf Of Rob van der Heij Sent: Wednesday, 4 January 2023 21:35 To: CMS-PIPELINES@VM.MARIST.EDU Subject: Re: [CMS-PIPELINES] Convert to bit value in Specs Cautio

Re: [CMS-PIPELINES] Convert to bit value in Specs

2023-01-04 Thread Rob van der Heij
On Wed, 4 Jan 2023 at 18:44, Berry van Sleeuwen wrote: So to obtain the value I have: > set #10:=substr(z,#2+(#0*#3)+1,#3) > set #13:=c2x(substr(#10,5,1)) > set #14:=c2x(substr(#10,6,1)) > where #10 is the record in the array and #13 and #14 are the bit values. I > can convert the value into a he

[CMS-PIPELINES] Convert to bit value in Specs

2023-01-04 Thread Berry van Sleeuwen
Hi All, I am processing an array in a pipeline. Part of the array contains a bit value. In a regular specs stage I would specify “xx.1 C2B nw” to print the bit value of the input. However in the array the location of the value is to be calculated during array processing. So to obtain the value

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

2022-12-22 Thread Dave Jones
Many thanks, everybody Found it! DJ --- On 2022-12-22 12:28, Berry van Sleeuwen wrote: > Yes he did. In the "Cross-compiling gcc C programs for z/VM CMS" manual, > chapter 3 starts with what to do when not in z/Linux. You need to > install/build the crosstool-ng package. > > Regards, Berry. > >

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

2022-12-22 Thread Berry van Sleeuwen
Yes he did. In the "Cross-compiling gcc C programs for z/VM CMS" manual, chapter 3 starts with what to do when not in z/Linux. You need to install/build the crosstool-ng package. Regards, Berry. Op 22-12-2022 om 20:44 schreef Dave Jones: Hello, all. Didn't John at one time publish, or at least

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

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

2022-12-22 Thread 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] Debugging a data exception

2022-12-06 Thread Larson, John E.
nks all for Trace and VMDUMP suggestions, which we'll look into if this problem persists. -Original Message- From: CMSTSO Pipelines Discussion List On Behalf Of John P. Hartmann Sent: Tuesday, December 6, 2022 6:27 PM To: CMS-PIPELINES@VM.MARIST.EDU Subject: Re: Debugging a data e

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 DeWayne Thomas
Just so we're clear...I wasn't blaming PIPE. :-)  ... and PARSEM is the name of our application. Thanks, DeWayne On 12/6/22 15:08, John P. Hartmann wrote: 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

Re: [CMS-PIPELINES] Debugging a data exception

2022-12-06 Thread Rob van der Heij
gt; No other eye-catchers after the above. > > -Original Message- > From: CMSTSO Pipelines Discussion List On > Behalf Of John P. Hartmann > Sent: Tuesday, December 6, 2022 5:09 PM > To: CMS-PIPELINES@VM.MARIST.EDU > Subject: Re: Debugging a data exception > > I

Re: [CMS-PIPELINES] Debugging a data exception

2022-12-06 Thread Larson, John E.
SO Pipelines Discussion List On Behalf Of John P. Hartmann Sent: Tuesday, December 6, 2022 5:09 PM To: CMS-PIPELINES@VM.MARIST.EDU Subject: Re: Debugging a data exception 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

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 l

Re: [CMS-PIPELINES] Debugging a data exception

2022-12-06 Thread Rob van der Heij
I wouldn't be surprised if CMS Pipelines were just the innocent bystander running some CMS program that program checked. The ideal would have been to get a VMDUMP at the point where the program check occurred, but since we're probably past that opportunity, another idea would be to look

[CMS-PIPELINES] Debugging a data exception

2022-12-06 Thread DeWayne Thomas
Greetings,     We just received the following in a REXX PIPE stage: 20:04:01.329108 PARSCALL SocketSetStatus rc=0 PARSEM Connected Free 1099 Used 1 20:04:25.569707 IADEDIRB STORE IADEDIR1 FLEXCNTL DMSABE141T Data exception occurred at 8114620A in routine PIPE CMS Any helpful hints on how we e

Re: [CMS-PIPELINES] IF testing characters

2022-11-28 Thread Kris Buelens
Thanks John for this education Kris Buelens, --- VM/VSE consultant, Belgium --- --- Op ma 28 nov. 2022 om 13:45 schreef John P. Hartmann : > On 11/28/22 11:10, Kris Buelens wrote: > > I repeat that #1 (or in France £1) is

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 va

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 i

Re: [CMS-PIPELINES] IF testing characters

2022-11-28 Thread Kris Buelens
I repeat that #1 (or in France £1) is a counter, so no spaces by definition. I guess that space(#1) converts it to a string and so you can compare to identifier "a", what is a string Kris Buelens, --- VM/VSE consultant, Belgium ---

Re: [CMS-PIPELINES] IF testing characters

2022-11-28 Thread Alain Benvéniste
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 is removed… ? Resiliency Services on Z Mai

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 ter

Re: [CMS-PIPELINES] IF testing characters

2022-11-27 Thread a.benveni...@free.fr
Sorry John to come back but, With "! SPECs", " a: 54.5 .", " if (£1/==a) then", " set £1:=a", " set £2:=1", " else", " set £2+=1", " endif", and with 6010A or 60102 and by reducing or not my storage from 128M to 16M I receive : FPLYAC1434E Parse error in state 145, u

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.) U

Re: [CMS-PIPELINES] IF testing characters

2022-11-27 Thread a.benveni...@free.fr
Rob, I would pleased to run it ! De : CMS/TSO Pipelines Discussion List de la part de Rob van der Heij Date : dimanche, 27 novembre 2022 à 10:06 À : cms-pipeli...@listserv.meduniwien.ac.at Objet : Re: IF testing characters While this doesn't address your questions about SPEC, I do have a ver

  1   2   3   4   5   6   7   8   9   10   >