Page 1 of 1

IEH227I OBTAIN MACRO FAILED

Posted: Thu Jan 22, 2015 9:26 pm
by Anithab
Hi all,

I am facing this error

Code: Select all

SYSTEM SUPPORT UTILITIES ---- IEHPROGM

  SCRATCH DSNAME=ANITHAB.T.CNTL,VOL=3390=XXX123,MEMBER=FF01
 IEH227I OBTAIN MACRO FAILED.  OBTAIN RETURN CODE =08.

  SCRATCH DSNAME=ANITHAB.T.CNTL,VOL=3390=XXX123,MEMBER=FF02
 IEH227I OBTAIN MACRO FAILED.  OBTAIN RETURN CODE =08.

  SCRATCH DSNAME=ANITHAB.T.CNTL,VOL=3390=XXX123,MEMBER=FF03
 IEH227I OBTAIN MACRO FAILED.  OBTAIN RETURN CODE =08.

  SCRATCH DSNAME=ANITHAB.T.CNTL,VOL=3390=XXX123,MEMBER=FF04
 IEH227I OBTAIN MACRO FAILED.  OBTAIN RETURN CODE =08.

UTILITY END
I later checked the DFSMS guide on OBTAIN and found this

Code: Select all

 8(X'08')                     
  The format-1 DSCB was not found in the VTOC of the      specified volume.  
 
I am not sure of format-1 DSCB . Could anyone assist me on this issue in helping me resolving it?

Thanks

Re: IEH227I OBTAIN MACRO FAILED

Posted: Thu Jan 22, 2015 10:31 pm
by enrico-sorichetti
the format 1 dscb contains the dataset name

use ispf 3.4 to check that the volume specified contains the dataset You are processing
and/or to find out the correct volume

Re: IEH227I OBTAIN MACRO FAILED

Posted: Fri Jan 23, 2015 11:13 am
by Anithab
Hi Enrico,

Thanks for the pointer.

I went to 3.4 option and saw that ANITHAB.T.CNTL was marked as *ALIAS and Does that mean the ALIAS dataset cannot be used for SCRATCH?

Also inorder to make it work should I point the dataset to the original one instead of ALIAS? Or what is that I am missing here?

Re: IEH227I OBTAIN MACRO FAILED

Posted: Fri Jan 23, 2015 12:19 pm
by enrico-sorichetti
inorder to make it work should I point the dataset to the original one instead of ALIAS?
Yes!

the alias exists ONLY in the catalog
the VTOC contains the TRUE/ORIGINAL dataset name
so that is the one You should be using

Re: IEH227I OBTAIN MACRO FAILED

Posted: Fri Jan 23, 2015 4:05 pm
by Anithab
Thanks Enrico, I modified the dataset to original and SCRATCH worked perfectly.