Hi
In the pipe command below where GUEST is the name of a Linux that I
PULLED from a previous SAY. I want to use GUEST in the LOCATE can I do
this and if so is the syntax correct? I have tried this but it does not
work unless I put a specific Linux name in the LOCATE. This is just a
test EXEC while I get a feel for all of this.
SAY 'LINUX GUEST ID'
PULL GUEST
'PIPE CP Q NAMES | LOCATE /GUEST/ | SPLIT | LOCATE /GUEST/',
'| > LINUX USERS A'
USERID = 'LINUX USERS A'
PARSE VALUE STREAM(USERID,'C','OPEN READ') WITH OK FILE_HANDLE
IF OK /= 'READY:' THEN
DO
SAY 'NO LINUX USERS LOGGED ON'
END
'CP I CMS'
EXIT /* RETURN TO CMS */
Thank You,
Terry Martin
Lockheed Martin - Information Technology
z/OS & z/VM Systems - Performance and Tuning
Cell - 443 632-4191
Work - 410 786-0386
[EMAIL PROTECTED]