IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

JCL to list the Load Dataset Members with AMODE details


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
bhattu

New User


Joined: 05 Jun 2009
Posts: 9
Location: US

PostPosted: Mon Aug 29, 2011 11:52 pm
Reply with quote

Hi All,

I am trying to automate some testing process, i am strucked to get the load member details, from a load dataset.

I tried the process manually from ISPF 3.4 option opend the dataset and saved it as LOADMEM, it saved as userid.LOADMEM.MEMBERS.
Code:

           COMPAREE              0009D930 000007 00  31 ANY           
           ENGEXE                00DE5720 000006 00  31 ANY     RN RU 
           ENGTRAN               00010864 000004 00  31 ANY     RN RU 
           EXHOSTID              00000FB8 000008 00  31 ANY     RN RU 
           GETMACHI              00000EE0 000009 00  31 ANY     RN RU 
           JPEGLIB               00028A90 00000A 00  31 ANY     RN RU 
           LIBTBARC              00049E00 00000B 00  31 ANY     RN RU 
           UPTRACK               00028248 00000C 00  31 ANY     RN RU 
           XPDFLIB               0019C250 000005 00  31 ANY     RN RU 

I want to achive this process thru JCL or REXX, so that i can initiate the script from windows, from windows i can submit in JES thru FTP.

I tried thru following JCL also but it is not recognizing the PDSE dataset.

Here is the JCL.

Code:

//STEP10 EXEC PGM=IKJEFT01                                   
//SYSTSPRT DD DSN=USERID.LIST.LOADMEM,                     
//            DISP=(NEW,CATLG,DELETE),                       
//            SPACE=(CYL,(1,1),RLSE),                       
//            DCB=(RECFM=FB,LRECL=80,BLKSIZE=0)             
//SYSPRINT DD SYSOUT=*                                       
//SYSIN    DD DUMMY                                         
//SYSTSIN  DD *                                             
      PDS86 'BUILD.BUILD.Z32.LOAD'                   
MEMLIST :                                                   
ATTRIB                                                       
END                                                         
/*   



It is givng this error.
Code:

READY                                                                   
      PDS86 'BUILD.BUILD.Z32.LOAD'                               
PDS100I PDS86 -- VERSION 8.6.10  FEBRUARY 27, 2009                     
                                                                       
PDS200I DISP UNIT     RECFM LRECL BLKSIZE   ALLOCTRK FREETRK SECONDARY F
SORG                                                                   
PDS200I SHR  3390     U         0    6144        N/A     N/A   200 TRK N
O-E                                                                     
                                                                       
PDS531W THIS DATA SET IS A PDSE - SOME FUNCTIONS LIMITED               
                                                                       
                                                                       
PDS300A ENTER OPTION -- DSN=BUILD.BUILD.Z32.LOAD,VOL=SER=BLD002 
                                                                       
MEMLIST :                                                               
ISPI003  Following file was not preallocated:                           
         ISPPROF                                                       
PDS731E ISPF IS NOT OPERATIONAL NOW                                     
PDS300A ENTER OPTION -- DSN=BUILD.BUILD.Z32.LOAD,VOL=SER=BLD002 
                                                                       
ATTRIB                                                                 
PDS996E ATTRIB lkedattr IS NOT SUPPORTED FOR PROGRAM OBJECTS           
                                                                       
PDS996E ATTRIB lkedattr IS NOT SUPPORTED FOR PROGRAM OBJECTS           
                                                                       
PDS996E ATTRIB lkedattr IS NOT SUPPORTED FOR PROGRAM OBJECTS           
                                                                       
PDS996E ATTRIB lkedattr IS NOT SUPPORTED FOR PROGRAM OBJECTS           
                                                                       
PDS996E ATTRIB lkedattr IS NOT SUPPORTED FOR PROGRAM OBJECTS           
                                                                       
PDS996E ATTRIB lkedattr IS NOT SUPPORTED FOR PROGRAM OBJECTS           
                                                                       
PDS996E ATTRIB lkedattr IS NOT SUPPORTED FOR PROGRAM OBJECTS           
PDS300A ENTER OPTION -- DSN=BUILD.BUILD.Z32.LOAD,VOL=SER=BLD002
                                                                     
END                                                                   
READY                                                                 
END                       


when i ran with PDS, it gives the details.

Code:


READY                                                                   
      PDS86 'USERID.CNTL.JCL'                                         
PDS100I PDS86 -- VERSION 8.6.10  FEBRUARY 27, 2009                     
                                                                       
PDS200I DISP UNIT OPT RECFM LRECL BLKSIZE   ALLOCTRK FREETRK SECONDARY F
PDS200I SHR  3390 C   FB       80   27920   4X   240      30     5 CYL 
                                                                       
                                                                       
PDS300A ENTER OPTION -- DSN=USERID.CNTL.JCL,VOL=SER=USR000  MEM=       
                                                                       
MEMLIST :                                                               
ISPI003  Following file was not preallocated:                           
         ISPPROF                                                       
PDS731E ISPF IS NOT OPERATIONAL NOW                                     
                                                                       
PDS300A ENTER OPTION -- DSN=USERID.CNTL.JCL,VOL=SER=USR000  MEM=:     
ATTRIB                                                                 
PDS230I MEMBER      VER.MOD  CREATED   LAST MODIFIED  SIZE  INIT   MOD 
PDS230I  $KLM        01.04  09/03/03  11/08/12 17:56     7     3     0 
PDS230I  #RACFCHG                                                       
PDS230I  ALCPDA      01.01  10/01/29  10/02/15 18:09    15     8     0 
PDS230I  ALTGRP      01.00  09/11/10  09/11/10 17:02    14    14     0 
PDS230I  ALTREN      01.24  09/04/20  09/12/03 13:34    12     5     0 
PDS230I  APPCPLUS    01.01  09/09/23  09/09/23 15:19    15    15     0 
PDS230I  BACKALL                                                       
PDS230I  BACK01      01.00  09/03/06  09/03/06 14:43    26    26     0 
PDS230I  BIND        01.00  10/10/06  10/10/06 15:25    18    18     0 
PDS230I  BINDJCL     01.01  10/10/06  11/03/16 21:37    25    25     0 
PDS230I  BK01        01.00  10/05/03  10/05/03 10:39    65    65     0 
PDS230I  BK02        01.00  10/05/03  10/05/03 10:40    63    63     0 
PDS230I  BLDCLEAN    01.09  10/07/28  10/09/27 11:16    33    13     0 
PDS230I  BXDBEXD5    01.03  10/11/08  10/11/08 19:26   246   246     0 
PDS230I  CLIENT      01.03  09/09/22  09/09/22 10:22     6     6     0 
                                                                       
PDS117I 254 MEMBERS COUNTED; CUMULATIVE SIZE IS 17,997 RECORDS     
                                                                   
PDS300A ENTER OPTION -- DSN=RBHATTU.CNTL.JCL,VOL=SER=USR000  MEM=: 
                                                                   
END                                                                 
READY                                                               
END                                                                 


Can you please suggest a solution, to achieve this process.

Thanks.
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Tue Aug 30, 2011 12:05 am
Reply with quote

Since your library is a PDSE, not a PDS, some things will simply not be achievable.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Load new table with Old unload - DB2 DB2 6
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts How to load to DB2 with column level ... DB2 6
No new posts How to create a list of SAR jobs with... CA Products 3
Search our Forums:

Back to Top