PDS members
-
- Posts: 6
- Joined: Wed Nov 11, 2020 4:14 am
- Skillset: i can code some JCL data set using different utilities
- Referer: from internet
PDS members
Hello everyone, can anyone help me create a PDS member?
-
- Global moderator
- Posts: 3025
- Joined: Sun Jul 04, 2010 12:13 am
- Skillset: JCL, PL/1, Rexx, Utilities and to a lesser extent (i.e. I have programmed using them) COBOL,DB2,IMS
- Referer: Google
- Location: Pushing up the daisies (almost)
Re: PDS members
In what context - batch or ISPF? What problems are you having? Basically a member is simply a sequential dataset held within another dataset. You specify it like so:
If the PDS exists the DISP is SHR otherwise you need to do all the JCL allocation blurb - disp,dcb attribute, space, volume.
Refer to the JCL Users Guide.
Code: Select all
DSN=pdsname(mbrname)
If the PDS exists the DISP is SHR otherwise you need to do all the JCL allocation blurb - disp,dcb attribute, space, volume.
Refer to the JCL Users Guide.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
Regards
Nic
-
- Global moderator
- Posts: 2105
- Joined: Thu Jun 03, 2010 6:21 pm
- Skillset: Assembler, JCL, utilities
- Referer: zos.efglobe.com
Re: PDS members
The solution discussed by NicC is fine for text members. You create a member that is a load module or program object using the Binder or (very rarely these days) the Linkage Editor.
You use a DD statement with the DISP=...,DSN=pdsname(mbrname) parameters to create one and only one member. The Binder or Linkage Editor can create several members in a single execution; then you just use DSN=pdsname and use the NAME control statement to specify the member names.
You use a DD statement with the DISP=...,DSN=pdsname(mbrname) parameters to create one and only one member. The Binder or Linkage Editor can create several members in a single execution; then you just use DSN=pdsname and use the NAME control statement to specify the member names.
-
- Similar Topics
- Replies
- Views
- Last post
-
-
FTP PDS members into desktop
by kalyani krishna » Tue Feb 28, 2023 10:47 pm » in Interview Questions - 1
- 1994
-
by dneufarth
View the latest post
Wed Mar 01, 2023 5:28 am
-
-
- 4
- 6214
-
by steve-myers
View the latest post
Sat May 15, 2021 1:58 am
-
-
REXX to Edit 3rd Line of all members in PDS
by shiitiizz » Thu Aug 13, 2020 5:21 pm » in CLIST & REXX - 3
- 3724
-
by Pedro
View the latest post
Fri Aug 14, 2020 3:50 am
-
-
- 3
- 1246
-
by jcdm
View the latest post
Fri Sep 15, 2023 2:27 am
-
-
Librarian - how to send a listing of members to a dataset
by MLK2348 » Tue Feb 27, 2024 8:21 pm » in All Other Tools - 4
- 3413
-
by enrico-sorichetti
View the latest post
Thu Feb 29, 2024 7:16 pm
-