PDS members

JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

PDS members

Postby aldencarr123 » Sat Nov 14, 2020 1:49 am

Hello everyone, can anyone help me create a PDS member?
Posts: 6
Joined: Wed Nov 11, 2020 4:14 am
Has thanked: 0 time
Been thanked: 0 time

Re: PDS members

Postby NicC » Sat Nov 14, 2020 3:03 am

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.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Global moderator
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Re: PDS members

Postby steve-myers » Sat Nov 14, 2020 6:17 am

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.
Global moderator
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Return to JCL


  • Related topics
    Last post