On Tue, 5 Apr 2011 08:06:50 -0500, Paul Gilmartin <paulgboul...@aim.com> wrote:

>Thanks for the research.  The messages indicate that your HLQ is
>SMS managed.  Mine isn't.  I suspect that can make the difference.

I did a test with non-SMS managed datasets. The end result is indeed not
quite as expected, and the behaviour is quite surprising...

>Pre-SMS, I'd expect allocation to choose a different volume.

It did allocate a new DUP1 on a different volume. This one did not get
catalogued. That is expected. However, it was kept and that, I would not
have expected. Indeed, the allocate statement specifies delete for the
normal disposition, so it should really have deleted the one allocated on
the other volume.

The delete of the catalogued DUP1 failed and I don't quite understand why...

The rename did not take place because the DUP1 already (still) exists, but
that is to be expected when the delete has failed.

The free failed as well, saying the file(atomic) is not allocated. Again,
not what I expect, because the allocate has been successful...

I got 256 times the "IEF237I B68F ALLOCATED TO SYS00nnn" message. Very
strange, but not looping after all. Notice the first is for another volume
(the one where the other DUP1 got created. All other are for the volume
where the pre-existing DUP1 and DUP2 reside.

I leave it up to you to further investigate. I include the full log of my
job here.

Cheers,

Jantje.



1                   J E S 2  J O B  L O G  --  S Y S T E M  T E S T  --  N O
D E  T M M E P R O D        
0 
 17.11.43 JOB22420 ---- THURSDAY,  07 APR 2011 ----
 17.11.43 JOB22420  IRR010I  USERID H3091VA  IS ASSIGNED TO THIS JOB.
 17.11.43 JOB22420  ICH70001I H3091VA  LAST ACCESS AT 17:10:25 ON THURSDAY,
APRIL 7, 2011
 17.11.43 JOB22420  #HASP373 JMO2659M STARTED - WLM INIT  - SRVCLASS SC650 
  - SYS TEST
 17.11.43 JOB22420  IEF403I JMO2659M - STARTED - TIME=17.11.43
 17.11.45 JOB22420  -                                         --TIMINGS
(MINS.)--            ----PAGING COUNTS---
 17.11.45 JOB22420  -JOBNAME  STEPNAME PROCSTEP    RC   EXCP    CPU    SRB 
CLOCK   SERV  PG   PAGE   SWAP    VIO SWAPS STEPNO
 17.11.45 JOB22420  -JMO2659M          RENAME      12    282    .00    .00 
  .03   126K   0      0      0      0     0     1
 17.11.45 JOB22420  -JMO2659M          ENQ      FLUSH      0    .00    .00 
  .00      0   0      0      0      0     0     2
 17.11.45 JOB22420  IEF404I JMO2659M - ENDED - TIME=17.11.45
 17.11.45 JOB22420  -JMO2659M ENDED.  NAME-                     TOTAL CPU
TIME=   .00  TOTAL ELAPSED TIME=   .03
 17.11.45 JOB22420  #HASP395 JMO2659M ENDED
0------ JES2 JOB STATISTICS ------                                         
                                                         
-  07 APR 2011 JOB EXECUTION DATE                                          
                                                         
-           17 CARDS READ                                                  
                                                         
-          837 SYSOUT PRINT RECORDS                                        
                                                         
-            0 SYSOUT PUNCH RECORDS                                        
                                                         
-           38 SYSOUT SPOOL KBYTES                                         
                                                         
-         0.03 MINUTES EXECUTION TIME                                      
                                                         
         1 //JMO2659M JOB 'NPAA.TMME.BATCH.COMPILE',                       
       JOB22420
           //             CLASS=N,                                         
               
           //             MSGCLASS=X,MSGLEVEL=(1,1),                       
               
           //             NOTIFY=&SYSUID                                   
               
           //*                                                             
               
           //*                                                             
               
          
//*.+....|....+....|....+....|....+....|....+....|....+....|....+....|....+....|
           IEFC653I SUBSTITUTION JCL -
'NPAA.TMME.BATCH.COMPILE',CLASS=N,MSGCLASS=X,MSGLEVEL=(1,1),NOTIFY=H3091VA
         2 //RENAME   EXEC  PGM=IKJEFT01                                   
               
         3 //SYSTSPRT  DD   SYSOUT=(,)                                     
               
         4 //SYSTSIN   DD   *                                              
               
           //*                                                             
               
         5 //ENQ      EXEC  PGM=IEFBR14,COND=(0,LE)                        
               
         6 //X         DD   DISP=MOD,DSN='SYS2.BU.DUP1'                    
               
 ICH70001I H3091VA  LAST ACCESS AT 17:10:25 ON THURSDAY, APRIL 7, 2011
 IEF236I ALLOC. FOR JMO2659M RENAME
 IEF237I JES2 ALLOCATED TO SYSTSPRT
 IEF237I JES2 ALLOCATED TO SYSTSIN
 IGD100I B1A6 ALLOCATED TO DDNAME ATOMIC   DATACLAS (        )
 IEF285I   SYS2.BU.DUP1                                 KEPT          
 IEF285I   VOL SER NOS= PCNM06.                            
 IEF237I B68F ALLOCATED TO SYS00001
 IEF285I   SYS2.BU.DUP1                                 KEPT          
 IEF285I   VOL SER NOS= OOST05.                            
 IEF237I B68F ALLOCATED TO SYS00002
 IEF285I   SYS2.BU.DUP1                                 KEPT          
 IEF285I   VOL SER NOS= OOST05.                            

---- snipped 252 occurrences of the IEF285I and IEF237I messages ---

 IEF237I B68F ALLOCATED TO SYS00255
 IEF285I   SYS2.BU.DUP1                                 KEPT          
 IEF285I   VOL SER NOS= OOST05.                            
 IEF237I B68F ALLOCATED TO SYS00256
 IEF285I   SYS2.BU.DUP2                                 KEPT          
 IEF285I   VOL SER NOS= OOST05.                            
 IEF142I JMO2659M RENAME - STEP WAS EXECUTED - COND CODE 0012
 IEF285I   H3091VA.JMO2659M.JOB22420.D0000102.?         SYSOUT        
 IEF285I   H3091VA.JMO2659M.JOB22420.D0000101.?         SYSIN         
 IEF373I STEP/RENAME  /START 2011097.1711
 IEF374I STEP/RENAME  /STOP  2011097.1711 CPU    0MIN 00.32SEC SRB    0MIN
00.00SEC VIRT   208K SYS   408K EXT     240K SYS   10064K
 IEF202I JMO2659M ENQ - STEP WAS NOT RUN BECAUSE OF CONDITION CODES        
     
 IEF272I JMO2659M ENQ - STEP WAS NOT EXECUTED.
 IEF373I STEP/ENQ     /START 2011097.1711
 IEF374I STEP/ENQ     /STOP  2011097.1711 CPU    0MIN 00.00SEC SRB    0MIN
00.00SEC VIRT     0K SYS     0K EXT       0K SYS       0K
 IEF375I  JOB/JMO2659M/START 2011097.1711
 IEF376I  JOB/JMO2659M/STOP  2011097.1711 CPU    0MIN 00.32SEC SRB    0MIN
00.00SEC
1READY
     allocate dd(atomic) new delete dsn('SYS2.BU.DUP1')
 READY
     delete 'SYS2.BU.DUP1'
 IDC3014I CATALOG ERROR+
 IDC3009I ** VSAM CATALOG RETURN CODE IS 76 - REASON CODE IS IGG0CLFM-8
 IDC0551I ** ENTRY SYS2.BU.DUP1 NOT DELETED
 IDC0014I LASTCC=8
 READY
     rename 'SYS2.BU.DUP2'  'SYS2.BU.DUP1'
 IKJ58222I DATA SET 'SYS2.BU.DUP1' ALREADY EXISTS
 READY
     free     dd(atomic)
 IKJ56247I FILE ATOMIC NOT FREED, IS NOT ALLOCATED
 READY
 END

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to