Page 1 of 1
needs clarification
Posted:
Fri Mar 18, 2011 11:40 am
by syamcs
hi,
i just tried to automate the RACF command ADDUSER using REXX but showed an error "incorrect name syntax"
is it possible to use ADDUSER command using rexx?
Regards
Syam
Re: needs clarification
Posted:
Fri Mar 18, 2011 12:58 pm
by mongan
why is the sky blue?
Please give us real information and error messages about your problem, then you can ask a question. From what you wrote I assume that the adduser name does not respect the racf syntax for the name.
Re: needs clarification
Posted:
Fri Mar 18, 2011 2:01 pm
by syamcs
address tso "ADDUSER (DEMS) NAME('SYAM') PASSWORD(HELLO) DFLTGRP(APPL) OWNER(DUSR001) TSO(ACCTNUM(ACCT#) PROC(IKJDB2) SIZE(4096) MAXSIZE(8212)"
i am getting the following error
IKJ56621I INVALID COMMAND NAME SYNTAX
Re: needs clarification
Posted:
Fri Mar 18, 2011 2:52 pm
by NicC
ADDUSER is not a TSO command but you are passing it to TSO. It is a RACF command - RACF is not TSO.
Re: needs clarification
Posted:
Fri Mar 18, 2011 7:03 pm
by steve-myers
NicC wrote:ADDUSER is not a TSO command but you are passing it to TSO. It is a RACF command - RACF is not TSO.
ADDUSER is a TSO command provided with the IBM RACF product. So you can say it is both a RACF command and a TSO command.
You get the IKJ56621I INVALID COMMAND NAME SYNTAX message if there is something wrong with the command name; 1234 entered as a TSO command will give this message. I suspect the real problem is elsewhere since I don't see anything obviously wrong with the ADDUSER command in the initial post. I have run the ADDUSER command in TSO CLISTs (I don't do Rexx) with no problem.
Re: needs clarification
Posted:
Fri Mar 18, 2011 7:14 pm
by enrico-sorichetti
if the command is as posted a closing parenthesis is missing for the TSO parameter
Re: needs clarification
Posted:
Sat Mar 19, 2011 12:18 am
by NicC
I stand corrected - further educated:)
Re: needs clarification
Posted:
Sat Mar 19, 2011 1:10 am
by Pedro
To say it a little bit differently...
Using Address TSO causes a search in the normal places for the named command (a load module, or even CLIST or REXX program). And for it to be called using a particular parameter convention.
Various products can be installed and their commands will work in TSO even though they are not provided by the TSO product. See TSO/E Programming Guide.