> -----Original Message----- > From: IBM Mainframe Discussion List > [mailto:[EMAIL PROTECTED] On Behalf Of esmie moo > Sent: Tuesday, September 05, 2006 1:08 PM > To: IBM-MAIN@BAMA.UA.EDU > Subject: DEFINE NONVSAM DSN > > > Hi, > > I am attempting to define a nonvsam dsn using IDCAMS. The > reason why I am doing this is because I would like to create > a dsn (PO) with the same characterstics. However, I have run > into difficulties. Below is my jcl: > > DEFINE NONVSAM(NAME(CTTGS02.TEST.CT1D)) - > MODEL(CTTGS02.CNTL.CT1D) > > Can this be done for PO/PS file?
Not using the DEFINE command. Look at the ALLOCATE command for non-VSAM dataset allocations. ALLOCATE DATASET(CTTGS02.CNTL.CT1D) - LIKE(CTTGS02.TEST.CT1D) This actually invokes the TSO ALLOCATE command under the covers. -- John McKown Senior Systems Programmer HealthMarkets Keeping the Promise of Affordable Coverage Administrative Services Group Information Technology This message (including any attachments) contains confidential information intended for a specific individual and purpose, and its content is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this transmission, or taking any action based on it, is strictly prohibited. ---------------------------------------------------------------------- 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