Have you used ISMF TEST function to see what might be occurring?

It is not perfect, but might help.

Are you the storage admin for your shop?  If not, you might want to ask them 
about their ACS routines.

Lizette



> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> Behalf Of John Compton
> Sent: Thursday, October 09, 2014 8:28 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: TSO in batch, RECEIVE storage class
> 
> I'm trying to use TSO in a batch job to control a RECEIVE of a file that is 
> created by
> an XMIT command.
> 
> The RECEIVE works ok, except that the restored output file is always being 
> created
> in my SMS 'temporary files' storage class.
> 
> I've tried everything I can think of to work around this, but the only method 
> that
> works is to pre-allocate the file with a DD statement in the supporting JCL - 
> which is
> something I don 't want to do if it can be avoided.
> 
> I tried a bare 'ALLOC' command on its own but even this results in the 
> specified file
> being created in the 'temporary' class, whether a STORCLAS clause is provided 
> or
> not.
> 
> 
> 
> Example input:
> 
> //(step) EXEC PGM=IKJEFT01
> 
> //SYSPRINT DD   SYSOUT=*
> 
> //SYSTSPRT DD   SYSOUT=*
> 
> //SYSIN    DD   *
> 
> //SYSTSIN  DD   *
> 
> ALLOC DATASET('<permanent file name>') NEW SPACE(1,1) DIR(1) TRACKS
> CATALOG STORCLAS(<permanent files class>)
> 
> 
> 
> Extracted from the resulting JESYSMSG output section:
> 
> IGD101I SMS ALLOCATED TO DDNAME (SYS00002)
> 
>         DSN (<permanent file name>                   )
> 
>         STORCLAS (<temporary files class>) MGMTCLAS (        ) DATACLAS
> (<normal files class>)
> 
>         VOL SER NOS= volser
> 
> 
> 
> Am I right in thinking that a new file such a this is dynalloc'd with a 
> temporary style
> name ('SYSyyddd.Thhmmss....') and then renamed when the dynalloc is seen to be
> successful? If so, is there any way to change this behaviour?
> 
> Any help would be much appreciated.
> 
> 
> 
> Regards
> 
> John

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to