Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Fileaid batch to fetch the PDS members

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools
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    Post subject: Fileaid batch to fetch the PDS members
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts query to fetch record which has only ... maxsubrat DB2 12 Mon Dec 11, 2017 5:03 pm
No new posts CA Intertest Batch 555shanth CA Products 0 Tue Nov 28, 2017 11:10 am
No new posts How to query MAXGENS of an existing P... Chuchulo Hatyzak JCL & VSAM 4 Wed Nov 22, 2017 10:23 pm
This topic is locked: you cannot edit posts or make replies. Cobol to fetch the content by using s... arunc55 COBOL Programming 4 Fri Nov 17, 2017 1:25 pm
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us