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

fileaid CHANGED parameter


IBM Mainframe Forums -> Compuware & Other Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
boyti ko

New User


Joined: 03 Nov 2014
Posts: 78
Location: Malaysia

PostPosted: Fri Dec 19, 2014 1:46 pm
Reply with quote

Hi,

I'm having trouble as to why my output gives only 2 members as output for this step:

Code:
//FASTEP   EXEC PGM=FILEAID,REGION=0M                         
//STEPLIB  DD  DISP=SHR,DSN=COMPWARE.LOAD 
//SYSPRINT DD  SYSOUT=*                                       
//SYSLIST  DD  SYSOUT=*                                       
//DD01     DD  DISP=SHR,                                       
//             DSN=MASTER.LIBRARY                           
//SYSIN    DD  *                                               
$$DD01 LIST CHANGED=(14/12/18,14/12/19)                       


The step is based on the CHANGED parameter syntax I found in Tutorial of FILEAID.


Code:
                          -------------------------                         
                          | THE CHANGED PARAMETER |                         
                          |      ALIAS CHA        |                         
                          -------------------------                         
 USE  .....allows selection of members from input partitioned datasets based
           on matching the date changed ISPF statistic in the PDS directory.
           Code dates as YY/MM/DD (YY-year, MM-month, DD-day).               
                                                                             
 FORMAT  -  CHANGED=(from-date,to-date)                                     
            CHANGED=(,to-date)                                               
            CHA=from-date                                                   
                                                                             
 EXAMPLE-1 -  $$DD01 LIST CHANGED=(94/09/22,94/10/21)                       
                                                                             
 1 - ...Will list the members from the DD01 PDS changed between Sept 22, 1994
        and Oct. 21, 1994, inclusive.                                       
                                                                             
PDS directory entries with non-standard ISPF format are never selected.     
Dates may be abbreviated as follows: YY/MM/DD, YY/MM, or YY.                 
YY values less than 60 are considered 21st century (YY=59 is 2059).         



Here's my SYSPRINT output:


Code:
DD01     DSN=MASTER.LIBRARY OPENED AS PO,                                   
             RECFM=FB,LRECL=80,BLKSIZE=27920,VOL=ADMINXX                       
$$DD01 LIST CHANGED=(14/12/18,14/12/19)                                       
ABOVE FUNCTION ENDED ON PRINT DEFAULT                                    RC=0
                                                                             
  MEMBERS-READ=2,SELECTED=2,RECORDS-READ=250,PRINTED=250,ENDING ON PAGE 5     


This is the library I'm checking, and it supposed to have more than to output.

Code:
VIEW              MASTER.LIBRARY                            Row 00001 of 01012
Command ===>                                                  Scroll ===> CSR
           Name     Prompt       Size   Created          Changed          ID 
_________ MP0287                  199  2007/09/06  2014/12/19 16:12:05  XXXXXX
_________ MP0288                  230  2014/12/19  2014/12/19 16:11:02  XXXXXX
_________ CBSPUAJ0                248  2014/12/19  2014/12/19 16:10:08  XXXXXX
_________ ZXCOMFIL                138  2011/05/24  2014/12/19 16:00:48  XXXXXX
_________ MASRUL1                  79  2014/12/19  2014/12/19 15:55:53  XXXXXX
_________ CBSX1393                683  2014/11/06  2014/12/19 15:53:35  XXXXXX
_________ CBSX2337                246  2014/12/08  2014/12/19 15:53:19  XXXXXX
_________ CBSB2905                606  2014/11/17  2014/12/19 15:52:20  XXXXXX
_________ ZCCAITR                  42  2010/03/11  2014/12/19 15:51:05  XXXXXX
_________ ZCCAIBN                  42  2010/03/11  2014/12/19 15:51:02  XXXXXX
_________ ZCCACTR                  42  2010/03/11  2014/12/19 15:50:58  XXXXXX
_________ ZCCACBN                  42  2010/03/11  2014/12/19 15:50:53  XXXXXX
_________ REPBNMME                 92  2013/08/07  2014/12/19 08:58:52  XXXXXX
_________ CPD203                  473  2014/12/18  2014/12/18 21:55:48  XXXXXX
_________ #ASMCMP1                123  2009/03/31  2014/12/18 20:03:33  XXXXXX
_________ RESTAG09                 46  2014/12/18  2014/12/18 19:56:25  XXXXXX
_________ DAA1DRES                572  2014/12/18  2014/12/18 19:12:55  XXXXXX
_________ DAA1CRES                238  2014/12/18  2014/12/18 19:12:42  XXXXXX
_________ DAAK0RES                721  2014/12/18  2014/12/18 19:12:34  XXXXXX
_________ SYIDAH                  668  2014/12/04  2014/12/18 19:12:27  XXXXXX
_________ DAAJ8RES               1890  2014/12/18  2014/12/18 19:12:14  XXXXXX
_________ DAAH0RES                836  2014/12/18  2014/12/18 19:11:57  XXXXXX


Can anybody help me as to why it reads only two members and produces only two members.
Back to top
View user's profile Send private message
Pete Wilson

Active Member


Joined: 31 Dec 2009
Posts: 580
Location: London

PostPosted: Fri Dec 19, 2014 7:27 pm
Reply with quote

Might be you need to include the DD01SC DD with some parms.

//* THE BELOW STATEMENTS ARE REQUIRED IN THE DD01SC DD SO THAT ALL
//* RECORDS ARE SELECTED AS THE BATCH DEFAULT DOESN'T READ ALL RECORDS.
//* IT HAS TO BE IN A RECFM=VB,LRECL=300 FILE.
//*
//* DEFINE BLOCKS=SELECTION,
//*
//* INITIAL_SKIP=0,
//* THEN_SELECT=0,
//* THEN_SKIP=0,
//*
//* MAXIMUM_TO_SEARCH=ALL,
//* MAXIMUM_TO_SELECT=ALL
//*
//* THIS CREATES A FLAT-FILE LIST OF ALL CONTENTS OF PDS MEMBERS
//*
//* TO SELECT BY MEMBER NAME MASK SPECIFY:
//*
//* ££DD01 LIST MEMBERS=FILT*
//*
//*
Back to top
View user's profile Send private message
boyti ko

New User


Joined: 03 Nov 2014
Posts: 78
Location: Malaysia

PostPosted: Mon Dec 22, 2014 7:31 am
Reply with quote

Nice Pete, it's now working. But when I tried the filtering to list only the members ST*. It still gave all just like without the LIST MEMBER parameter.

Code:
----+----1----+----2----+----3
*****************************
  DEFINE BLOCKS=SELECTION,   
                             
  INITIAL_SKIP=0,             
  THEN_SELECT=0,             
  THEN_SKIP=0,               
                             
  MAXIMUM_TO_SEARCH=ALL,     
  MAXIMUM_TO_SELECT=ALL       
                             
  ££DD01 LIST MEMBERS=ST*     


and in spool, im seeing this line in SYSPRINT.
Code:
ER309-INVALID SELECTION KEYWORD


Thanks so much!
Back to top
View user's profile Send private message
Pete Wilson

Active Member


Joined: 31 Dec 2009
Posts: 580
Location: London

PostPosted: Tue Jan 06, 2015 8:29 pm
Reply with quote

TRY using the prural MEMBERS rather than MEMBER
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 -> Compuware & Other Tools

 


Similar Topics
Topic Forum Replies
No new posts Search two or more word with FILEAID Compuware & Other Tools 15
No new posts Using the Jobname parameter in a Qual... ABENDS & Debugging 1
No new posts Demand with DEADLINE TIME parameter CA Products 4
No new posts Option DYNALLOC second parameter. DFSORT/ICETOOL 11
No new posts Generate output lines (SYSIN card for... DFSORT/ICETOOL 4
Search our Forums:

Back to Top