Hmm.. I've never noticed problems like you describe, and we do exactly the same 
thing with some subsets of our users.

If one of these users tries to accidentally or otherwise allocate a file 
beginning with their userid, it just fails to do it. 

I don't have anything particularly fancy in place, just the FTP server config 
statements for the default disk allocation volume, and DCB parameters, and the 
rest is just RACF - they don't have write access. 

Brian 

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of 
Fred Schmidt
Sent: 29 April 2010 06:49
To: [email protected]
Subject: REPLY DEVICE NAME OR 'CANCEL' for FTP to mainframe and SMS ACS routines

Issued: Error! Unknown document property name.          iii

We are seeing...

IEF244I ZZZ STEP1 - UNABLE TO ALLOCATE 1 UNIT(S) 969
        AT LEAST 1 OFFLINE UNIT(S) NEEDED.
IEF877E ZZZ NEEDS 1 UNIT(S) 970
FOR STEP1 SYS00001
FOR VOLUME PRIVAT-   1
OFFLINE
1004-1007 1011-1012 1027-1028 102E-1033 1035-1039 103B-103D 1042-1049
IEF878I END OF IEF877E FOR ZZZ STEP1 SYS00001
05 IEF238D ZZZ - REPLY DEVICE NAME OR 'CANCEL'.

... when FTP'ing from userid=ZZZ a file to the mainframe named ZZZ.TEST.DATA. 
It fails because the request is for a non-SMS allocation with no VOLSER 
specified and we do not have any volumes mounted STORAGE.

We want the allocation to fail, as we don't want these FTP userids to create 
datasets under their own HLQ, only transfer other files. But we don't want the 
WTOR.

I've tried setting a DFP segment for userid ZZZ, with STORCLAS= FAILALOC and in 
the STORCLAS routine coding ...

WHEN ((&DSOWNER = '') OR (&DEF_STORCLAS = 'FAILALOC'))
   DO
      SET &STORCLAS = ''
      WRITE 'DATASET ALLOCATION FAILED'
      WRITE 'HIGH LEVEL QUALIFIER (HLQ) IS NOT DEFINED'
      WRITE 'PLEASE CONTACT YOUR SECURITY ADMINISTRATOR'
      EXIT CODE(0)
   END

This works as intended for allocations via TSO/Batch. But it does not prevent 
the WTOR for FTP's.

Is there some way that I can prevent the WTOR for FTP using SMS? Or do I have 
to use ALLOCxx to cancel all allocation requests? I would rather not, as this 
has implications for all allocations and it is only FTP that has the problem.

Regards,
Fred Schmidt
NT Government, Australia

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to