Question: I am writing a PL/1 program for OS z/90 . I want to write something like this using 'IN'.
IF user_name IN ('ABC','XYZ') THEN DO;
I am geting compiler error and the keyword THEN is not getting recognised by compiler. Please give me the correct syntax
WHEN ('ABC','XYZ') DO;
This article written by Stephen Chapman, Felgall Pty Ltd.