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

Fileaid batch to fetch the PDS members


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

New User


Joined: 13 Feb 2008
Posts: 15
Location: Chennai

PostPosted: Thu Apr 17, 2014 5:21 pm
Reply with quote

I have used the below code to fetch the PDS members, if a particular string is found

Code:

//*                                                         
//STEP07   EXEC PGM=FILEAID,REGION=8M                       
//STEPLIB  DD  DISP=SHR,DSN=SYS5.FA.SXFALOAD                 
//SYSPRINT DD  SYSOUT=*                                     
//DD01     DD  DSN=INPUT LIBRARY
//SYSLIST  DD  DSN=OUTPUT DATASET,             
//SYSIN    DD *                                             
$$DD01 LIST IF=(1,0,C'CHART')                         
/*                                                           


The issue is, iam not getting the complete list and the message I got in
SYSPRINT is

ABOVE FUNCTION ENDED ON PRINT DEFAULT RC=0
MEMBERS-READ=5392,SELECTED=5392,RECORDS-READ=7407612,PRINTED=250


Due to restriction in printing 250 lines, i am not getting the complete list of members rather getting only partial list of members...

But the job is getting successfully...

Can anyone please help me to resolve this issue..

Please let me know if you need any additional info
Back to top
View user's profile Send private message
Ed Goodman

Active Member


Joined: 08 Jun 2011
Posts: 556
Location: USA

PostPosted: Thu Apr 17, 2014 7:11 pm
Reply with quote

$$DD01 LIST OUT=0,IF=(1,0,C'CHART')
Back to top
View user's profile Send private message
wiprov

New User


Joined: 13 Feb 2008
Posts: 15
Location: Chennai

PostPosted: Thu Apr 17, 2014 8:06 pm
Reply with quote

Thanks so much...U are perfect....
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 How to get a stack trace on a looping... ABENDS & Debugging 5
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
No new posts Help in Automating Batch JCL jobs mon... JCL & VSAM 3
No new posts Fetch data from programs execute (dat... DB2 3
Search our Forums:

Back to Top