Norbert Friemel wrote:

>You can define (and delete) VSAM data with JCL/IEFBR14 for about 25 years now 
>(MVS/ESA 3.1.0e ?). 
>http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DGT2D4A0/2.2.3

I'm very well aware of that. That link you provided is also similar (SMS and 
VSAM) in JCL Ref, for example:

"KEYLEN applies to data sets with the BDAM, BPAM, BSAM, EXCP, QISAM, and TCAM 
access methods, and, with SMS, to VSAM data sets."

and "1 to 255 for VSAM key-sequenced (RECORG=KS) data sets." 

And so on for a lot of JCL statements for VSAM datasets [under SMS control].

But, at least for myself, we try to recommend one way to do a thing, not both 
IDCAMS and JCL.

>Not all IDCAMS-Options are available in JCL, but you can use temporary VSAM 
>data sets (DSN=&&MYDSN,DISP=(,PASS)) in JCL (you can't "define" 
>temporary data sets with IDCAMS)

Temp VSAM? Interesting, there must be a reason for that. Perhaps temp holdplace 
during creation of DB2 tables?

Groete / Greetings
Elardus Engelbrecht

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to