search cancel

SOLVE / NetMaster REXX fails with RXEM0101 Invalid command

book

Article ID: 187962

calendar_today

Updated On:

Products

SOLVE:Operations Automation SOLVE:Access Session Management SOLVE:FTS SOLVE MAINFRAME CONNECTOR FOR LINUX ON MAINFRAME NetMaster Network Management for TCP/IP

Issue/Introduction

Trying to run a simple REXX sample program that is in the 12.2 REXX manual.

/* REXX */
'PIPE VTAM D NET,EXIT ',
' | CORRWAIT 10',
' | SEP ',
' | LOC /IST1251I/',
' | STEM ACTX.'
EXIT

This is what I
get:
RXEM0101 Invalid command: PIPE, from REXX2(004111)    
*-* 2:'PIPE VTAM D NET,EXIT ',                        
+++    RC(-3)                                         
NR3001 REXX PROCEDURE REXX2 COMPLETED. PID: 4111 RC: -

Cause

REXX requires nccf environment.

Environment

All supported releases of SOLVE / Netmaster

Resolution

The proc can be submitted one of two ways.
1. From CMD issue
nv procname
instead of just
procname

If background user is required, it can be submitted using
sub bsys nv procname

2. From OCS issue
NCCF   
to access the NCCF Emulation Facility, then
procname
to run the proc.


Additional Information

For more information, please review the Netmaster REXX manual for 12.2