Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to create pds member through jcl

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: How to create pds member through jcl
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: 1187
Location: Bangalore,India

PostPosted: Tue Nov 21, 2006 10:22 am    Post subject:
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    Post subject: reply
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    Post subject:
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: 2360
Location: Israel

PostPosted: Tue Nov 21, 2006 1:46 pm    Post subject:
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 Moderator


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

PostPosted: Tue Nov 21, 2006 10:08 pm    Post subject:
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    Post subject: Reply to: How to create pds member through jcl
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Fri Dec 18, 2009 2:13 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Fri Dec 18, 2009 5:33 pm    Post subject: Reply to: How to create pds member through jcl
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: 1491
Location: Chennai

PostPosted: Fri Dec 18, 2009 9:01 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Fri Dec 18, 2009 9:16 pm    Post subject: Reply to: How to create pds member through jcl
Reply with quote

/sillyness on
this one is better ( 4 years )

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

Active Member


Joined: 08 May 2006
Posts: 995
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Fri Dec 18, 2009 9:24 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts member list compare jzhardy TSO/ISPF 6 Fri May 12, 2017 3:18 pm
No new posts Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
No new posts copy SEQ to PDS and create stats steve-myers JCL & VSAM 5 Thu Apr 27, 2017 1:15 am
No new posts Browsing member from any PDS shiitiizz CLIST & REXX 7 Wed Mar 08, 2017 1:17 am
No new posts Bind plan as a member to another bind... rexx77 DB2 0 Thu Feb 16, 2017 2:02 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us