View previous topic :: View next topic
|
Author |
Message |
dhananjay
New User
Joined: 01 Aug 2006 Posts: 4
|
|
|
|
I know @ 3.4 option I want make new pds and at the same time new member in it through jcl using any utility. |
|
Back to top |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
Quote: |
I know @ 3.4 option I want make new pds and at the same time new member in it through jcl program using any utility. Do anybody understand this then please reply |
You can use IEFBR14 for this
Code: |
//ALLOC EXEC PGM=IEFBR14
//NEWFILE DD DISP=(NEW,CATLG),DSN=MY.NEW.FILE,
// UNIT=3330,VOL=SER=WORK01,
// SPACE=(CYL,(10,10,10)),DCB=SYS1.PARMLIB
// |
|
|
Back to top |
|
|
dhananjay
New User
Joined: 01 Aug 2006 Posts: 4
|
|
|
|
which u r suggesting is not writeb answer because it will create only pds not member ok i want's also member with it ok. |
|
Back to top |
|
|
mfibm
New User
Joined: 12 Sep 2006 Posts: 13
|
|
|
|
great dhananjay..........
gupte is trying to help u out.........
but u r behaving as if u r taking interview........
the first half of the problem is solved .i, e i will create PDS for u..........
u request 4 the second half...............
dont ask like this,...............OK.......
CONG gupte .....for the gr8 achievement............MOM.......... |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
You can't create a PDS and a member at the same time. I think you need to learn more about the structure of PDS from the fine manual.
O. |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Quote: |
You can't create a PDS and a member at the same time. |
Actually, you can by specifying pds(member). Here's a DFSORT job that will do it:
Code: |
//S1 EXEC PGM=ICEMAN
//SYSOUT DD SYSOUT=*
//SORTIN DD *
RECORD 1
RECORD 2
/*
//SORTOUT DD DSN=userid.TESTP.PDS(M1),DISP=(NEW,CATLG,DELETE),
// SPACE=(TRK,(1,1,1)),UNIT=SYSDA
//SYSIN DD *
OPTION COPY
/*
|
TESTP.PDS and member M1 will be created. |
|
Back to top |
|
|
ampradeepkumar
New User
Joined: 16 Dec 2009 Posts: 1 Location: bangalore
|
|
|
|
by using INCLUDE statement u can list ur members.but i can not added new member in respective member.thanks for u. |
|
Back to top |
|
|
Escapa
Senior Member
Joined: 16 Feb 2007 Posts: 1399 Location: IL, USA
|
|
|
|
Quote: |
by using INCLUDE statement u can list ur members |
i am not getting what you are refering to?????
Quote: |
i can not added new member in respective member |
even this ???? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
ampradeepkumar
Why have you replied to a thread that has been happily dormant for over three years ? |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
Why have you replied to a thread that has been happily dormant for over three years ? |
are you trying to make me feel guilty because I was not quick in posting the <appropriate> statistics
here they are ...
Code: |
The topic has been resurrected after
... 3 year(s) - (months difference / 12 )
... 3 year(s) - (difference )
... 37 months
... 1122 days
... 26943 hours
... 1616629 minutes
... 96997740 seconds |
sorry again for being late |
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
|
|
I will bookmark this thread and resurrect this after 3 years . lets celebrate the thread resurrection festival |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1193 Location: Dublin, Ireland
|
|
|
|
.... and the /sillyness off presumably comes AFTER the festivities... ??
(being silly)
Garry. |
|
Back to top |
|
|
MikeHunter
New User
Joined: 02 Aug 2006 Posts: 2
|
|
|
|
Is is too early to resurrect?
I only want to say thanks for sharing this information.
Thanks, MikeHunter |
|
Back to top |
|
|
|