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

LIST files using Wildcard.


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

New User


Joined: 05 Sep 2008
Posts: 37
Location: Chennai

PostPosted: Wed Nov 19, 2008 11:58 pm
Reply with quote

Hi all,

I need list all the files present in qualifier 'AAAAAAA.B*.CCC.VV*' Is this possible using JCL? Can anyone please help me.
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1287
Location: Chennai, India

PostPosted: Thu Nov 20, 2008 12:08 am
Reply with quote

Hi,


Quote:


I need list all the files present in qualifier 'AAAAAAA.B*.CCC.VV*' Is this possible using JCL?


I would go for REXX for this requirement. Use LMDLIST for generating the list.

Also search this forum as it has been discussed before.[/quote]
Back to top
View user's profile Send private message
jeyaseelan347
Warnings : 1

New User


Joined: 05 Sep 2008
Posts: 37
Location: Chennai

PostPosted: Thu Nov 20, 2008 12:20 am
Reply with quote

Can you please provide me the JCL run the LMDLIST in batch else is there any other way to run LMDLIST without having the default library allocation?
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Thu Nov 20, 2008 1:00 am
Reply with quote

Try running the REXX exec IGGCSIRX from ''SYS1.SAMPLIB(IGGCSIRX)'.
Back to top
View user's profile Send private message
jeyaseelan347
Warnings : 1

New User


Joined: 05 Sep 2008
Posts: 37
Location: Chennai

PostPosted: Thu Nov 20, 2008 2:35 am
Reply with quote

Can you please tel me what is the problem with below jcl. I am getting RC as zero but I am not getting any output?

//STEP10 EXEC PGM=IKJEFT1B
//SYSPROC DD DSN=SYS1.SAMPLIB,DISP=SHR
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
%IGGCSIRX -
XXXXX.N*.VVV.CC*
/*
Thanks,
Jeyaseelan
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Nov 20, 2008 7:22 am
Reply with quote

Hello,

Quote:
but I am not getting any output
There will be some output somewhere or there may be a "dd statement missing" message. You might add a //sysprint dd sysout=* statement.

Post whetever output was presented by the batch tso run including all messag id's.
Back to top
View user's profile Send private message
jeyaseelan347
Warnings : 1

New User


Joined: 05 Sep 2008
Posts: 37
Location: Chennai

PostPosted: Thu Nov 20, 2008 4:01 pm
Reply with quote

I am getting below in my output. it is not listing all the files with specified qualifier.

READY
%IGGCSIRX XXXXX.N*.VVV.CC*
ENTER FILTER KEY
READY
END

Do I need to enter any filter key?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Nov 20, 2008 4:16 pm
Reply with quote

The ouput should be in SYSTSPRT,

and
%IGGCSIRX -
XXXXX.N*.VVV.CC*

You do not need the -
it may well work without
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 Write line by line from two files DFSORT/ICETOOL 7
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts Joinkeys - 5 output files DFSORT/ICETOOL 7
Search our Forums:

Back to Top