Friday, December 30, 2005

DISP=(MOD,DELETE)

//DELFILE EXEC PGM=IEFBR14
//SYSPRINT DD SYSOUT=*
//DD1 DD DSN=ABC.A,DISP=(MOD,DELETE)
  1. 有file唔會死
  2. 冇file會死
//DELFILE EXEC PGM=IEFBR14
//SYSPRINT DD SYSOUT=*
//DD1 DD DSN=ABC.A,DISP=(MOD,DELETE),
// UNIT=&UNIT.,SPACE=(TRK,(1,1),RLSE),
// DCB=(RECFM=VB,LRECL=1024,BLKSIZE=27998)
  1. 有冇file都唔會死
  2. length對唔對都唔死

3 comments:

詩偉 said...

請問幾時要用 DISP=(MOD,DELETE)
DISP=(SHR,DELETE): Dataset可以同時間有幾個I/O
DISP=(OLD,DELETE): Dataset比人lock左得一個I/O

Unknown said...

多數是用來delete datasets, fb 經常有用, 詳細請問阿ivanchank

冥王 said...

呢d野, 緊係抄人地既啦, 千其唔好自己作呀!!!