[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] FPLRVR236E Too much data for variable MSTEM.5020

2022-08-24 Thread Stanislawski, Shawn (National VM Capability)
16MB? 24bit addressing related somehow, is it? But yes, it is very likely the assignment of this REXX stemmed variable attempts a storage request over 16MB (including control information). I will check. Just to be thorough, are there limitations regarding the area of CMS available memory wher

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

2022-08-23 Thread Stanislawski, Shawn (National VM Capability)
Have a situation where we keep running into FPLRVR236E when trying to populate very large stemmed arrays. Any idea what maximums the STEM stage / REXX itself is capable of handling? (If it helps: virtual machine currently set to MACHINE XA, 1G of virtual storage, IPL'ed CMS saved segment.) --S

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

2020-09-14 Thread Stanislawski, Shawn (National VM Capability)
n VSAM was available to solve more complex data management issues. Now, you re-platform. Regards, Alan Altmark IBM > On Sep 12, 2020, at 12:27 PM, Paul Gilmartin wrote: > > On 2020-09-12, at 06:18:25, Rob van der Heij wrote: >> >>> On Sat, 12 Sep 2020 at 01:18, Stanislaw

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

2020-09-11 Thread Stanislawski, Shawn (National VM Capability)
Would be preferable to avoid truncation of a longer new record when dealing with recfm=VARIABLE. But at this point, it sounds as if there is not an elegant resource-light method for so doing? --Shawn S. -Original Message- From: CMSTSO Pipelines Discussion List On Behalf Of Rob van de

[CMS-PIPELINES] Replace single record in file

2020-09-10 Thread Stanislawski, Shawn (National VM Capability)
Anyone have a great idea on how to use PIPE to replace single record at a specified record number in a file without having to read / write out the entire file, with the following caveats? * the file could be either recfm FIXED or VARIABLE * the new record could potentially be either shor

[CMS-PIPELINES] Enabling the Trap Facility

2019-03-06 Thread Stanislawski, Shawn (National VM Capability)
The Book says: "The facility is enabled for messages FPLDSK124E and FPLDSK129E. There is no user interface to enable other messages, though it would be possible to write a REXX program to enable other messages in the field, should this be necessary. " Stupid question: How would I go about writ

Re: [CMS-PIPELINES] Wildcard searching

2018-10-31 Thread Stanislawski, Shawn (National VM Capability)
dcard searching On Wed, 31 Oct 2018 at 16:25, Stanislawski, Shawn (National VM Capability) < shaw...@dxc.com> wrote: > Ah, apologies, you're right, failed to provide that piece: > original record is desired at the end. > So you could do something like this: ... input recor

Re: [CMS-PIPELINES] Wildcard searching

2018-10-31 Thread Stanislawski, Shawn (National VM Capability)
al record or just the bytes beyond column 30, or something else indeed. On 10/31/2018 03:17 PM, Stanislawski, Shawn (National VM Capability) wrote: > Want to filter a stream of records, letting only certain ones through based > on a keyword in each record. > What we know: > -the keywo

Re: [CMS-PIPELINES] Wildcard searching

2018-10-31 Thread Stanislawski, Shawn (National VM Capability)
're looking for multiple keywords, FIND may get tedious since you'd need a cascade to check them. I have been known to load a LOOKUP table with all the possible forms of the keyword, but that's only realistic when you're dealing with abbreviations. Sir Rob the Plumber On 10/31

[CMS-PIPELINES] Wildcard searching

2018-10-31 Thread Stanislawski, Shawn (National VM Capability)
Want to filter a stream of records, letting only certain ones through based on a keyword in each record. What we know: -the keyword could be anywhere in the first 30 characters -the keyword is space delineated (no leading space if keyword is first word) -the first and last part of that keyword -th

Re: [CMS-PIPELINES] Selecting multiple record chunks

2018-03-02 Thread Stanislawski, Shawn (National VM Capability)
MARIST.EDU Subject: Re: [CMS-PIPELINES] Selecting multiple record chunks pick from 5.2 == /99/ for 4 On 03/02/2018 06:31 PM, Stanislawski, Shawn (National VM Capability) wrote: > I've got some data, within it reside multiple record chunks that I want. > The desired record chunks are rand

[CMS-PIPELINES] Selecting multiple record chunks

2018-03-02 Thread Stanislawski, Shawn (National VM Capability)
I've got some data, within it reside multiple record chunks that I want. The desired record chunks are randomly spaced within the data. The desired record chunks are composed of 4 consecutive records. The record chunks all start with records whose column 5 & 6 contain the characters "99", and

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

2017-06-27 Thread Stanislawski, Shawn (National VM Capability)
; / is evaluated." --Shawn S. -Original Message- From: Stanislawski, Shawn (National VM Capability) Sent: Tuesday, June 27, 2017 13:31 To: CMS-PIPELINES@VM.MARIST.EDU Subject: RE: [CMS-PIPELINES] FPLSPX1086E Improper operand for string comparison Getting same error if performing from a

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

2017-06-27 Thread Stanislawski, Shawn (National VM Capability)
ogy Engineering & Operations > Bank of America > CA4-136-01-01, 2546 SAN PABLO AVE, Berkeley, CA T 510.529.4128 > alan.acker...@bankofamerica.com > > Life's better when we're connected® > > > -Original Message- > From: CMSTSO Pipelines Discussion List &

[CMS-PIPELINES] FPLSPX1086E Improper operand for string comparison

2017-06-27 Thread Stanislawski, Shawn (National VM Capability)
Decided to give Mike's pipe a try, but it gives me an error: pipe literal *|dup 8|spec if #0=='' then set #0:=-5 else set #0+=1 endif print #0 n|Cons " FPLSPX1086E Improper operand for string comparison FPLMSG003I ... Issued from stage 3 of pipeline 1

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

2017-03-24 Thread Stanislawski, Shawn (National VM Capability)
Starting with: CP QUERY PATHS 0- Filtering to remove those groups of records who are both: "status ONLINE" AND "show a '+' for every CHPID" (So those to be removed would be the "Good/Working" devices, essentially.) Any group of records where the first record is NOT "Device , Status

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

2017-03-24 Thread Stanislawski, Shawn (National VM Capability)
At this point the expected output format is just the same as CP QUERY PATHS , but sans the "Legend" line: " Device 0192, Status ONLINE CHPIDs to Device 0192 (PIM) : 11 12 1A 22 30 40 Physically Available (PAM) : + + + + + + Online (LPM) : - - + + + - Off

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

2017-03-23 Thread Stanislawski, Shawn (National VM Capability)
26.8 right x05 n ", > "| j800: juxtapose", > "| pick w3 \== /ONLINE/ ", > "| ", /* Do some processing here. */ > "| sort f1 ", /* Back to

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

2017-03-23 Thread Stanislawski, Shawn (National VM Capability)
Been working on developing my Pipethink, but this scenario has me stumbling. Taking "CP QUERY PATHS 0-" and filtering so that only those with potential problems (those who are NOT: "status ONLINE" AND "show a '+' for every CHPID") get output to console. The more I poke at this, the more c

Re: [CMS-PIPELINES] SPEC IF String equality comparison and output including Field identifiers.

2016-12-14 Thread Stanislawski, Shawn (National VM Capability)
Ah, Mike and Sir Rob are both quite right. - Swapping ID for PRINT made it stop throwing errors. - But I definitely WAY over complicated this approach. Thank you! --Shawn S. -Original Message- From: CMSTSO Pipelines Discussion List [mailto:CMS-PIPELINES@VM.MARIST.EDU] On Behalf Of Mic

[CMS-PIPELINES] SPEC IF String equality comparison and output including Field identifiers.

2016-12-14 Thread Stanislawski, Shawn (National VM Capability)
The way I’ve written a SPEC stage appears to be causing error: “ FPLSPX1038E Not a decimal number: RANDOM EXEC F 80 40 1 2013-02-06 07:40:30 FPLMSG003I ... Issued from stage 5 of pipeline 1 FPLMSG001I ... Running "SPEC a: 1-* . SELECT SECOND b: 1-* . IF (a¬==b) TH" ” Input is paired sets of

Re: [CMS-PIPELINES] SPEC IF string expression using secondary and primary reading stations

2016-10-28 Thread Stanislawski, Shawn (National VM Capability)
ng stations On 10/28/2016 3:45 PM, Stanislawski, Shawn (National VM Capability) wrote: > ...I just can't seem to figure out the correct syntax for the SPEC > IF's string comparison Expression when trying to use both the > Secondary and Primary reading stations within the same E

[CMS-PIPELINES] SPEC IF string expression using secondary and primary reading stations

2016-10-28 Thread Stanislawski, Shawn (National VM Capability)
If you'll forgive the long Subject above; I have been racking the manuals trying to figure out how to translate this : (word1 refers to a space delineated alphabetic string) " SPEC SELECT SECOND a: word1 . BREAK a (do stuff here) " --(The above performs: " the contents of the equivalent field

[CMS-PIPELINES] Label connections

2016-09-28 Thread Stanislawski, Shawn (National VM Capability)
Would someone please explain to me the internal mechanism(s) behind why the following causes an error? PIPE LITERAL PICKLES CAKE | SPLIT | A: DROP 1 | SPEC /CHEESE/ 1 W1 N | A: FANINANY | CONSOLE " Label A is already declared ... Scan at position 70; previous data "CHEESE/ 1 W1 N | A:" Ready

Re: [CMS-PIPELINES] Not-always-directly-sequential record references in PIPEs

2016-09-23 Thread Stanislawski, Shawn (National VM Capability)
That example of LOOKUP is fascinating! Going to take a bit to digest. After Sir Rob's reply, I managed to hammer out something that works. Perhaps an unbeautiful / inefficient solution, but not sure? Data file (SOMEFILE MAP A) : " *VOLUME: AA1A11 Provologne PEAR Muenster PEAR Mozzerell

Re: [CMS-PIPELINES] Not-always-directly-sequential record references in PIPEs

2016-09-22 Thread Stanislawski, Shawn (National VM Capability)
Flipping through the manuals, and testing it, that does seem to be easy enough. But rather than the number of entries per volume (Word1) , prepending the number of entries per subpool (Word6) would require... Well, I imagine after the JUXTAPOSE (so the Volser and Device-type are now part of

Re: [CMS-PIPELINES] Not-always-directly-sequential record references in PIPEs

2016-09-22 Thread Stanislawski, Shawn (National VM Capability)
Juxtapose. Beautiful! After that bit of processing, I'm left with records containing 6 space-delineated words. Is it even possible to have PIPE append the record into a STEM where the stem's name is Word6 in the record? --Shawn S. -Original Message- From: CMSTSO Pipelines Discussi

[CMS-PIPELINES] Not-always-directly-sequential record references in PIPEs

2016-09-22 Thread Stanislawski, Shawn (National VM Capability)
I'm sure this has to be a very easy question, but unfortunately I'm still struggling with it. How can I turn this file (Original) : " *VOLUME: AA1A11 TYPE: 3390 UTILIZATION: 99% *FREE* 2 54 55 *FREE* POOLA *FREE* 2 194195

Re: [CMS-PIPELINES] Converged custom profiles for 'CMS Productivity Aids'

2016-07-12 Thread Stanislawski, Shawn (National VM Capability)
nday, July 11, 2016 1:26 PM To: CMS-PIPELINES@VM.MARIST.EDU Subject: Re: [CMS-PIPELINES] Converged custom profiles for 'CMS Productivity Aids' On 7/10/2016 12:12 PM, Stanislawski, Shawn (National VM Capability) wrote: > I couldn't get EMSG to show up when using CSLMAP command

Re: [CMS-PIPELINES] Converged custom profiles for 'CMS Productivity Aids'

2016-07-10 Thread Stanislawski, Shawn (National VM Capability)
From: CMSTSO Pipelines Discussion List [mailto:CMS-PIPELINES@VM.MARIST.EDU] On Behalf Of Glenn Knickerbocker Sent: Friday, July 08, 2016 4:35 PM To: CMS-PIPELINES@VM.MARIST.EDU Subject: Re: [CMS-PIPELINES] Converged custom profiles for 'CMS Productivity Aids' On 7/8/2016 10:50 AM, St

Re: [CMS-PIPELINES] Converged custom profiles for 'CMS Productivity Aids'

2016-07-08 Thread Stanislawski, Shawn (National VM Capability)
- From: CMSTSO Pipelines Discussion List [mailto:CMS-PIPELINES@VM.MARIST.EDU] On Behalf Of Alan Altmark Sent: Friday, July 08, 2016 12:40 PM To: CMS-PIPELINES@VM.MARIST.EDU Subject: Re: [CMS-PIPELINES] Converged custom profiles for 'CMS Productivity Aids' On Friday, 07/08/2016 at 04:

Re: [CMS-PIPELINES] Converged custom profiles for 'CMS Productivity Aids'

2016-07-08 Thread Stanislawski, Shawn (National VM Capability)
, 2016 10:30 AM To: CMS-PIPELINES@VM.MARIST.EDU Subject: Re: [CMS-PIPELINES] Converged custom profiles for 'CMS Productivity Aids' You probably want to look at the DMSCALLR CSL routine. You can work your way back though the commands to find out how you were called. (I haven'

Re: [CMS-PIPELINES] Converged custom profiles for 'CMS Productivity Aids'

2016-07-08 Thread Stanislawski, Shawn (National VM Capability)
ion List [mailto:CMS-PIPELINES@VM.MARIST.EDU] On Behalf Of Paul Gilmartin Sent: Friday, July 08, 2016 9:57 AM To: CMS-PIPELINES@VM.MARIST.EDU Subject: Re: [CMS-PIPELINES] Converged custom profiles for 'CMS Productivity Aids' On 2016-07-08, at 08:50, Stanislawski, Shawn (National VM Capabil

[CMS-PIPELINES] Converged custom profiles for 'CMS Productivity Aids'

2016-07-08 Thread Stanislawski, Shawn (National VM Capability)
The CMS Commands and Utilities Reference Appendix "Customizing Profiles for CMS Productivity Aids" lists 10 profiles (plus 4 just for FILELIST) that can be seen with the CMS command DEFAULTS and can be overridden with "DEFAULTS SET PROFILE newprof" (where "" is an EXEC Fn from t