Re: Allocate DB2 LDS with JCL?

2021-06-17 Thread Sri h Kolusu
>> I assume the Blksize  of 4K will set the CISize to 4K...

Billy,

That is correct

>> And do I need to do anything special  with ShareOpts?

I believe it defaults to  SHAREOPTIONS  to  (3,3)

If you need to model your LDS based on an existing LDS then you can use the
LIKE parm

//STEP0300 EXEC PGM=IEFBR14
//LDSCRE   DD DSN=,
//DISP=(NEW,CATLG,DELETE),
//SPACE=(CYL,(60,20)),
//LIKE=Your.existing.lds.dataset.name
/*

I would issue a LISTCAT of the created LDS and make sure that it has the
information that you looking for.

Thanks,
Kolusu

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Allocate DB2 LDS with JCL?

2021-06-17 Thread Seymour J Metz
You can use bpxwdyn, or alloc under TSO, to allocate an LDS from REXX.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Billy Ashton [bill00ash...@gmail.com]
Sent: Thursday, June 17, 2021 10:30 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Allocate DB2 LDS with JCL?

Hey everyone, here is a quick question. I am looking at some of our
utilities and production control tools, and wanted to know if anyone has
samples to allocate a DB2 VSAM LDS (1) using JCL parameters only - not
with IDCAMS, or (2) with Rexx? If so, I would appreciate it - I have not
found anything in manuals for these.

Billy


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Allocate DB2 LDS with JCL?

2021-06-17 Thread Billy Ashton
Kolusu, thanks once again! I will give this a try. I assume the Blksize 
of 4K will set the CISize to 4K... And do I need to do anything special 
with ShareOpts?


-- Original Message --
From: "Sri h Kolusu" 
To: IBM-MAIN@listserv.ua.edu
Sent: 6/17/2021 11:59:13 AM
Subject: Re: Allocate DB2 LDS with JCL?


 if anyone has samples to allocate a DB2 VSAM LDS (1) using JCL

parameters

Billy,

JCL supports the parm RECORG and you can define the LDS as follows

//STEP0100 EXEC PGM=IEFBR14
//LDSCRE   DD DSN=,
//DISP=(NEW,CATLG,DELETE),
//SPACE=(CYL,(60,20)),
//RECORG=LS,
//BLKSIZE=4096

Thanks,
Kolusu

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Allocate DB2 LDS with JCL?

2021-06-17 Thread Sri h Kolusu
>> if anyone has samples to allocate a DB2 VSAM LDS (1) using JCL
parameters

Billy,

JCL supports the parm RECORG and you can define the LDS as follows

//STEP0100 EXEC PGM=IEFBR14
//LDSCRE   DD DSN=,
//DISP=(NEW,CATLG,DELETE),
//SPACE=(CYL,(60,20)),
//RECORG=LS,
//BLKSIZE=4096

Thanks,
Kolusu

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Allocate DB2 LDS with JCL?

2021-06-17 Thread Colin Paice
I dont think there is. (There didnt used to be)

On Thu, 17 Jun 2021 at 15:30, Billy Ashton  wrote:

> Hey everyone, here is a quick question. I am looking at some of our
> utilities and production control tools, and wanted to know if anyone has
> samples to allocate a DB2 VSAM LDS (1) using JCL parameters only - not
> with IDCAMS, or (2) with Rexx? If so, I would appreciate it - I have not
> found anything in manuals for these.
>
> Billy
>
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Allocate DB2 LDS with JCL?

2021-06-17 Thread Billy Ashton
Hey everyone, here is a quick question. I am looking at some of our 
utilities and production control tools, and wanted to know if anyone has 
samples to allocate a DB2 VSAM LDS (1) using JCL parameters only - not 
with IDCAMS, or (2) with Rexx? If so, I would appreciate it - I have not 
found anything in manuals for these.


Billy


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN