Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

LIST files using Wildcard.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: LIST files using Wildcard.
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: 1288
Location: Chennai, India

PostPosted: Thu Nov 20, 2008 12:08 am    Post subject: Reply to: LIST files using Wildcard.
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    Post subject:
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

Moderator Team Head


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

PostPosted: Thu Nov 20, 2008 1:00 am    Post subject: Reply to: LIST files using Wildcard.
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    Post subject:
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

Site Director


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

PostPosted: Thu Nov 20, 2008 7:22 am    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Thu Nov 20, 2008 4:16 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts member list compare jzhardy TSO/ISPF 6 Fri May 12, 2017 3:18 pm
No new posts Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
This topic is locked: you cannot edit posts or make replies. Merge two files and update Trailer re... Yashashri JCL & VSAM 1 Thu May 04, 2017 12:54 pm
No new posts Dynamic split of files under groups sril.krishy DFSORT/ICETOOL 4 Mon Apr 17, 2017 1:09 pm
No new posts Compare two files and subtract values ameetmund DFSORT/ICETOOL 7 Fri Mar 31, 2017 3:35 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us