Well, it's been quite a few years since I wrote any pipe code, but.... could it 
be there's a comma missing in the first line?

> Date: Thu, 24 Apr 2014 15:13:22 -0500
> From: [email protected]
> Subject: SPEC with multiple IFs.
> To: [email protected]
> 
> I can't seem to find information on what could be wrong with this:
> 
>  
> 
> "|  SPEC /xxxx/ 1.8 1-* NW RECNO FROM" X2D(F800) "D2X NW.4 RIGHT a: 6.3
> ."
> 
>               "IF a==/MOD/ THEN",  
> 
>                 "/C/ NW",          
> 
>               "ELSE",              
> 
>                 "IF a==/MVS/ THEN",
> 
>                   "/C/ NW",        
> 
>                 "ELSE",            
> 
>                   "/R/ NW",        
> 
>                 "ENDIF",           
> 
>               "ENDIF",             
> 
>  
> 
> I'm not getting the output I expect (I don't see PIPE flagging
> anything).   I've only had single IF's in the past.
> 
>  
> 
> Frank M. Ramaekers Jr. | Systems Programmer | Information Technology |
> American Income Life Insurance Company | 254-761-6649
> 
>  
                                          

Reply via email to