Check this . Looks like you need to be authorized user to issue the 
command.

http://www-01.ibm.com/support/docview.wss?uid=swg21039810

Thanks,
Kolusu

IBM Mainframe Discussion List <[email protected]> wrote on 
12/21/2016 08:14:50 AM:

> From: Mike Stramba <[email protected]>
> To: [email protected]
> Date: 12/21/2016 08:25 AM
> Subject: Rexx/CICS format file pool - return code -4
> Sent by: IBM Mainframe Discussion List <[email protected]>
> 
> Greetings all,
> 
> System : ADCD - z/OS 01.10.00  running CICS Cicstslevel (030200)
> 
> I'm trying to format the file pools for REXX/CICS
> 
> I  "sign on" to CICS (with "L CICS")
> 
> I  enter the REXX transaction, and the expected "Enter a REXX
> command or EXIT to quit" message is posted, and interactively entered
> Rexx does work.
> 
> Attempting to run "FILEPOOL FORMAT POOL1" results in return code -4.
> 
> According to the docs I'm using, this return code is returned when the
> user is not logged on to the region.  (REXX for CICS—Part One Features
> and Installation By Dennis Beck) (pdf's are onlne)
> 
> I think the problem is the "L CICS" signon, which is not requesting
> any user name / password. That in turn, I think is because only the
> default (none?) security has been installed for CICS -VTAM logons.
> 
> If that is the problem, then :
> 
> 1) Is it possible to "Logon" to the CICS region (without security) so
> that "FILEPOOL FORMAT POOL1" will be accepted ?
> 
> I ran a simple command program, and the default userid is CICSUSER
> 
> 2) Is there an alternate way to format the file pool, rather than
> using the Rexx/CICS interactive FILEPOOL FORMAT .. command ?
> 
> else
> Does CICS/VTAM security need to be installed ?
> 
> else
> 
> other ??? solutoin ?
> 
> thx
> 
> Mike
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
> 



----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to