Hi. z/OS DFSMS Access Method Services for Catalogs: Chapter 4. ALLOCATE: Access method services identifies the verb name ALLOCATE and attaches the terminal monitor program (TMP) that runs Time Sharing Option (TSO) commands in the background. The ALLOCATE command *should be used only to allocate new data sets to the job step*. If you use ALLOCATE through access method services for anything else (the handling of SYSOUT data sets, for example), you can get unpredictable results. Refer to z/OS TSO/E Programming Guide for additional information on using this command. Table 2 on page 29 separates the parameters to that you should use under access method services from the parameters that cause unpredictable results.
HTH.. On Fri, Dec 30, 2011 at 8:50 AM, John McKown <joa...@swbell.net> wrote: > I am writing a program which will ATTACH IDCAMS to do some things. I > have been reading: > http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DGT2I2A0/D.1 > which goes over the commands which require APF authorization. I have one > question that perhaps someone here knows the answer to. The above > states: > <quote> > An address space that calls IDCAMS to issue any of these commands must > be APF authorized, or the command will terminate: > > * ALLOCATE command to allocate an SMS-managed data set > </quote> > > What is the meaning of the second "allocate" in that sentence? Does it > mean "create" as in "allocate a new" or does it mean the more generic > "allocate" as in "do a dynamic allocation" even if the dataset already > exists? > > I know, "try it and see". When I get to that point, I will. I'm writing > a UNIX command (in HLASM) which runs IDCAMS from a UNIX shell prompt. > I'm still in the design stage on what I want it to "look like" in terms > of options and arguments. > > -- > John McKown > Maranatha! <>< > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN > -- Cobe Xu Best Regards ----------------------------------------------------------- z/OS Performance & Capacity Analyst z/OS System Programmer Email: cob...@gmail.com ----------------------------------------------------------- ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN