IEH227I OBTAIN MACRO FAILED

JES2/3, JCL, utilities.
Post Reply
Anithab
Registered Member
Posts: 44
Joined: Mon May 26, 2014 2:57 pm

IEH227I OBTAIN MACRO FAILED

Post 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
enrico-sorichetti
Global Moderator
Global Moderator
Posts: 826
Joined: Wed Sep 11, 2013 3:57 pm

Re: IEH227I OBTAIN MACRO FAILED

Post 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
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort 8-)
Anithab
Registered Member
Posts: 44
Joined: Mon May 26, 2014 2:57 pm

Re: IEH227I OBTAIN MACRO FAILED

Post 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?
enrico-sorichetti
Global Moderator
Global Moderator
Posts: 826
Joined: Wed Sep 11, 2013 3:57 pm

Re: IEH227I OBTAIN MACRO FAILED

Post 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
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort 8-)
Anithab
Registered Member
Posts: 44
Joined: Mon May 26, 2014 2:57 pm

Re: IEH227I OBTAIN MACRO FAILED

Post by Anithab »

Thanks Enrico, I modified the dataset to original and SCRATCH worked perfectly.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “JCL - Job Control Language.”