Let me guess. You are on the second record. #0 contains the number 5
and you compare it to a string.
On 06/27/2017 07:10 PM, Stanislawski, Shawn (National VM Capability) wrote:
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
FPLMSG001I ... Running "spec if #0=='' then set #0:=-5 else set #0+=1 endi"
FPLSPE192I ... Scan at position 9; previous data "if #0==''"
Ready (01086); T=0.01/0.01 12:06:48
"
Any ideas?
--Shawn S.
-----Original Message-----
From: CMSTSO Pipelines Discussion List [mailto:CMS-PIPELINES@VM.MARIST.EDU] On
Behalf Of Michael Harding
Sent: Tuesday, June 28, 2016 15:32
To: CMS-PIPELINES@VM.MARIST.EDU
Subject: Re: [CMS-PIPELINES] 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 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@VM.MARIST.EDU>
#0 will never become positive. Is that what you wanted?