How to create member in PDS?



IBM's Command List programming language & Restructured Extended Executor

How to create member in PDS?

Postby rohit.limkar » Tue Apr 22, 2008 12:58 pm

Hi all,
I m new in REXX. Could anybody please tell me how to create a member in PDS by using REXX exec .....
rohit.limkar
 
Posts: 1
Joined: Fri Dec 14, 2007 10:36 am
Has thanked: 0 time
Been thanked: 0 time

Re: How to create member in PDS?

 

Re: How to create member in PDS?

Postby arunprasad.k » Tue Apr 22, 2008 3:49 pm

If the PDS exists, then use the following syntax.

"alloc da('YOUR.PDS.NAME(MEMBER)') f(file03) mod reuse"


If not refer the example 7 of the following link.

Refer the link for allocate command syntax. This has a lot of examples for your reference.

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IKJ4C531/1.7?DT=20021022140245

Post if you face problems.

Arun.
arunprasad.k
 
Posts: 110
Joined: Thu Dec 27, 2007 5:18 pm
Has thanked: 0 time
Been thanked: 0 time


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post