IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to create pds member through jcl


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
dhananjay

New User


Joined: 01 Aug 2006
Posts: 4

PostPosted: Tue Nov 21, 2006 10:12 am
Reply with quote

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
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1208
Location: Bangalore,India

PostPosted: Tue Nov 21, 2006 10:22 am
Reply with quote

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
View user's profile Send private message
dhananjay

New User


Joined: 01 Aug 2006
Posts: 4

PostPosted: Tue Nov 21, 2006 10:28 am
Reply with quote

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
View user's profile Send private message
mfibm

New User


Joined: 12 Sep 2006
Posts: 13

PostPosted: Tue Nov 21, 2006 11:51 am
Reply with quote

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
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Tue Nov 21, 2006 1:46 pm
Reply with quote

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
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Tue Nov 21, 2006 10:08 pm
Reply with quote

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
View user's profile Send private message
ampradeepkumar

New User


Joined: 16 Dec 2009
Posts: 1
Location: bangalore

PostPosted: Fri Dec 18, 2009 1:57 pm
Reply with quote

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
View user's profile Send private message
Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Fri Dec 18, 2009 2:08 pm
Reply with quote

Quote:
by using INCLUDE statement u can list ur members

i am not getting what you are refering to????? icon_eek.gif
Quote:
i can not added new member in respective member
even this ????
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri Dec 18, 2009 2:13 pm
Reply with quote

ampradeepkumar

Why have you replied to a thread that has been happily dormant for over three years ?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Dec 18, 2009 5:33 pm
Reply with quote

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 icon_question.gif

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 icon_biggrin.gif
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Fri Dec 18, 2009 9:01 pm
Reply with quote

I will bookmark this thread and resurrect this after 3 years icon_biggrin.gif. lets celebrate the thread resurrection festival icon_pray.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Dec 18, 2009 9:16 pm
Reply with quote

/sillyness on
this one is better ( 4 years )

ibmmainframes.com/viewtopic.php?t=2006&highlight=resurrected
Back to top
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Fri Dec 18, 2009 9:24 pm
Reply with quote

Quote:
/sillyness on


.... and the /sillyness off presumably comes AFTER the festivities... ??

(being silly)

Garry.
Back to top
View user's profile Send private message
MikeHunter

New User


Joined: 02 Aug 2006
Posts: 2

PostPosted: Tue Jan 31, 2012 11:45 am
Reply with quote

Is is too early to resurrect?
I only want to say thanks for sharing this information.
Thanks, MikeHunter
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts How to copy the -1 version of a membe... TSO/ISPF 4
No new posts Searching for a member but don't know... TSO/ISPF 6
No new posts Looking For a PDS Member Without Open... PL/I & Assembler 10
No new posts create rexx edit Macro that edits the... CLIST & REXX 3
Search our Forums:

Back to Top