On Thu, 8 Apr 2010 09:07:12 -0500, Michel Castelein wrote:
>
>Using IDCAMS is more performant:

Is it?  Maybe, but it is not obvious to me.  In the case where the 
data set does exist, I'm sure that the BR14 uses fewer resources. 
The IDCAMS step has to have SYSIN and SYSPRINT allocated. 
It has to open them both, read the SYSIN and write the SYSPRINT.

>//PASOBOR EXEC PGM=IDCAMS
>//SYSPRINT DD  SYSOUT=*
>//SYSIN    DD  *
>  LISTCAT ENTRY(USTS.U0Z72B6.????.????????)
>  IF LASTCC=0 THEN DELETE USTS.U0Z72B6.????.????????
>  SET MAXCC=0

-- 
Tom Marchant

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to