Just tried again from the a command line.  The '#' (w/o quotes) might be 
causing the problem.  CP is interpreting it as an end of line and I'm guessing 
the 0 (zero) doesn't get prefixed with the '#'
Steve

-----Original Message-----
From: CMSTSO Pipelines Discussion List [mailto:CMS-PIPELINES@VM.MARIST.EDU] On 
Behalf Of Ackerman, Alan
Sent: Tuesday, June 27, 2017 1:53 PM
To: CMS-PIPELINES@VM.MARIST.EDU
Subject: Re: FPLSPX1086E Improper operand for string comparison

Works for me. Maybe you have an older version of CMS Pipelines.

I put it into a Rexx EXEC and surrounded it with double quotes, since you are 
using single quotes.

temp                                            
        -5                                      
        -4                                      
        -3                                      
        -2                                      
        -1                                      
         0                                      
         1                                      
         2                                      
         3                                      

pipe query level                                        
FPLINX560I CMS Pipelines, 5741-A07 level 110C000D.       
                  
 q cplevel                                               
z/VM Version 6 Release 4.0, service level 1701 (64-bit)  
Generated at 2017-05-31 15:55:26 PDT                     
IPL at 2017-05-31 17:12:15 PDT                           

Alan Ackerman
Vice President
Cnslt II - Sys Eng California
Technology 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 [mailto:CMS-PIPELINES@VM.MARIST.EDU] On 
Behalf Of Stanislawski, Shawn (National VM Capability)
Sent: Tuesday, June 27, 2017 10:10 AM
To: CMS-PIPELINES@VM.MARIST.EDU
Subject: [CMS-PIPELINES] FPLSPX1086E Improper operand for string comparison

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?

----------------------------------------------------------------------
This message, and any attachments, is for the intended recipient(s) only, may 
contain information that is privileged, confidential and/or proprietary and 
subject to important terms and conditions available at 
http://www.bankofamerica.com/emaildisclaimer.   If you are not the intended 
recipient, please delete this message.

Reply via email to