Edit CICSTART.PROC from your chosen sublibrary (for example PRD2.CONFIG) using DITTO or another editor to update the list of authorized user ids. If you fail to do this, the filepool formatting function gives the message:
Subcommand return code = -4
Either change the existing 'AUTHUSER RCUSER' line or add additional lines specifying the userid that will log on to format the pools, for example 'AUTHUSER CICSUSER' if no security is active, or 'AUTHUSER SYSA' if userid SYSA is used. Use single apostrophes to delimit the command.
'FILEPOOL DEFINE POOL1 RFSDIR1 RFSPOL1 (USER'
IF RC ¬= 0 THEN EXIT RC
'FILEPOOL DEFINE POOL2 RFSDIR2 RFSPOL2 (USER'
IF RC ¬= 0 THEN EXIT RC