On Wed, Jun 22, 2011 at 10:32 AM, jagadishan perumal
<[email protected]>wrote:

> Hi,
>
> I was trying to restore some dataset using the below JCL :
>
> 000001 //A255209$ JOB MSGCLASS=X,MSGLEVEL=(1,1),CLASS=B,
> 000002 //         REGION=0M,NOTIFY=&SYSUID
> 000003 //RESTORE EXEC PGM=ADRDSSU
> 000004 //TAPE DD UNIT=680,DISP=SHR,LABEL=(1,SL),
> 000005 //    DSN=BACKUP.USRBKP,VOL=SER=USRBKP
> 000006 //DASD DD UNIT=3390,VOL=SER=CT3T04,DISP=SHR
> 000007 //SYSPRINT DD SYSOUT=*
> 000008 //SYSIN DD *
> 000009   RESTORE INDDNAME(TAPE),OUTDDNAME(DASD) -
> 000010   DATASET(INCLUDE(XXA47467.**)) -
> 000011   CATALOG STORCLAS(STANDARD) MGMTCLAS(STANDARD)
> 000012 /*
> 000013 //*
>
>
> but i got the below error :
>
> 1PAGE 0001     5695-DF175  DFSMSDSS V1R12.0 DATA SET SERVICES     2011.173
> 14:32
> -  RESTORE INDDNAME(TAPE),OUTDDNAME(DASD) -
> 0007000
>   DATASET(INCLUDE(XXA47467.**)) -
> 0008000
>   CATALOG STORCLAS(STANDARD) MGMTCLAS(STANDARD)
> 0008100
>  ADR101I (R/I)-RI01 (01), TASKID 001 HAS BEEN ASSIGNED TO COMMAND 'RESTORE
> '
>  ADR109I (R/I)-RI01 (01), 2011.173 14:32:03 INITIAL SCAN OF USER CONTROL
> STATEME
>  ADR016I (001)-PRIME(01), RACF LOGGING OPTION IN EFFECT FOR THIS
> TASK
> 0ADR006I (001)-STEND(01), 2011.173 14:32:03 EXECUTION
> BEGINS
> 0ADR049E (001)-STEND(01), 2011.173 14:47:42 DFSMSDSS FUNCTION TASK ABEND
> RECOVER
>
> CODE=0030
> 0ADR415W (001)-TDDS (02), NO DATA SETS WERE COPIED, DUMPED, OR RESTORED
> FROM
> ANY
> 0ADR006I (001)-STEND(02), 2011.173 14:47:44 EXECUTION
> ENDS
> 0ADR013I (001)-CLTSK(01), 2011.173 14:47:44 TASK COMPLETED WITH RETURN CODE
> 0008
> 0ADR012I (SCH)-DSSU (01), 2011.173 14:47:44 DFSMSDSS PROCESSING COMPLETE.
> HIGHES
>                          TASK    001
>
>
> I looked at IBM lookat message :
>
> *Explanation:* A function task request that an abend request be recovered
> and control returned to the function task for cleanup processing before
> terminating. This message is issued when an abend occurs and the function
> task abend recovery routine has successfully returned control to the
> function task.
>
> Could'nt figure out the exact syntax error with my JCL. Could anyone please
> suggest me your idea. Meanwhile I am trying to trace the error behind this.
>
>
>
> Regards,
>
> jags
>
> Looks like the CODE=0030 may be associated with an open/close error.  Are
there any further messages in the JES2 JESMSGLG for this job related to an
abend.

Jim McAlpine

----------------------------------------------------------------------
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