Using IEBGENER AND GETTING THE Error DATASET NOT ACCESIBLE



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Using IEBGENER AND GETTING THE Error DATASET NOT ACCESIBLE

Postby arya_starc » Tue Feb 21, 2017 6:11 pm

Hi

I tried to copy the copy the DASD file into TAPE using IEBGENER, but on execution I get the error message as "DATASET NOT ACCESIBLE" and getting return code as S9FD.

Below is my JCL code

000001 //V2TRINIT    JOB (0000,XXXX),'PROD',CLASS=6,MSGCLASS=X,                
 000002 // USER=PAFK,                                                          
 000003 // TIME=(60,00)                                                        
 000004 //*        RESTART=*                                                    
 000005 // SET REGFS='A'                                                        
 000006 //*                                                                    
 000007 //IDCAMS1 EXEC PGM=IEBGENER,COND=(0,NE)                                
 000008 //SYSOUT   DD SYSOUT=*                                                  
 000009 //SYSPRINT DD SYSOUT=*                                                  
 000010 //*                                                                    
 000011 //SYSUT1   DD DSN=FTT.FIRD.DUMP.D0216.T2246.T$VPM10A.S00170,DISP=SHR    
 000012 //SYSUT2   DD DSN=VM.LAT.D10.FILE.SE,                                  
 000013 //            DISP=(NEW,CATLG,DELETE),                                  
 000014 //            SPACE=(CYL,(500,500),RLSE),UNIT=DASD,                    
 000015 //            DCB=*.SYSUT1                                              
 000016 //SYSIN    DD *                                                        
 000017 /*                                    
 


Below is the Error message which I get in the JCL

TMS009  IEF233A M 9D65,194999,,V2TRINIT,IDCAMS1,FTT.FIRD.DUMP.D0216.T2246.T$VPM
         FTT.FIRD.DUMP.D0216.T2246.T$VPM10A.S00170                              
 TSS7220E 101 J=V2TRINIT A=PAFK VOL=194999 ACC=READ DSN=FTT.FIRD.DUMP.D0216.T224
 TSS7221E Dataset Not Accessible - FTT.FIRD.DUMP.D0216.T2246.T$VPM10A.S00170    
 CAL0C0SF 08 101 PAFK    /IEBGENR /FTT.FIRD TSS7221E Dataset Not Accessible -  
          FTT.FIRD.DUMP.D0216.T2246.T$VPM10A.S00170                            
 IEFTMS50 9XX- 04 V2TRINIT,IDCAMS1 ,SYSUT1  ,9D65,194999,00001,6.T$VPM10A.S00170
 IEFTMS50 ***** CA 1 ABEND,F1,08 *****                  **                      
 IEA995I SYMPTOM DUMP OUTPUT  023                                              
 SYSTEM COMPLETION CODE=9FD  REASON CODE=00000004                              

 PSW AT TIME OF ERROR  070C1000   AA8145D2  ILC 2  INTC 0D                    
    NO ACTIVE MODULE FOUND                                                      
    NAME=UNKNOWN                                                                
    DATA AT PSW  2A8145CC - 00181610  0A0DD70F  D048D048                        
    GR 0: 84000000   1: 849FD000                                                
       2: 009FD000   3: 2A83A938                                                
       4: 008A8410   5: 008FFBD8                                                
       6: 008A7000   7: 008A879C                                                
       8: 008ACE60   9: AA814000                                                
       A: 00C66000   B: 00C66378                                                
       C: 00014418   D: 008A79B0                                                
       E: 00000004   F: 00000004                                                
  END OF SYMPTOM DUMP                                                          
 IEF450I V2TRINIT IDCAMS1 - ABEND=S9FD U0000 REASON=00000004  024              
         TIME=06.31.05                                                          
 IEF234E K 9D65,194999,PVT,V2TRINIT,IDCAMS1          
 


Anyone have any idea why I am getting this error message.
Thanks
arya_starc
 
Posts: 136
Joined: Mon Sep 21, 2015 1:39 pm
Has thanked: 5 times
Been thanked: 0 time

Re: Using IEBGENER AND GETTING THE Error DATASET NOT ACCESIB

Postby enrico-sorichetti » Tue Feb 21, 2017 6:40 pm

what about reading Yourself the manuals to find the detailed explanation of the TSS messages ?
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
enrico-sorichetti
Global moderator
 
Posts: 3006
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 165 times

Re: Using IEBGENER AND GETTING THE Error DATASET NOT ACCESIB

Postby Robert Sample » Tue Feb 21, 2017 7:59 pm

Anyone have any idea why I am getting this error message.
Yes, Top Secret is telling you that you do not have access to this data set. You need to work with your site support group, and its security team in particular, to be granted access to the data set. As long as you have legitimate business need to access it, they should have no problems with granting you access.
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: Using IEBGENER AND GETTING THE Error DATASET NOT ACCESIB

Postby steve-myers » Tue Feb 21, 2017 9:01 pm

  1. Liar. You are trying to copy tape to disk.
  2. Otherwise, Mr. Sample is 100% correct.
  3. Back when I was a Top Secret DCA, assuming I had the scope (that is, I could change it) for this access profile, I would refer the user to the manager controlling the access profile for authorization. Otherwise I would refer the user to site security, which should also refer you to the owner of the resource for authorization.
  4. On the face of it, I would not authorize this access without proper written authorization by the resource's owner. I think something fishy is going on here.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post