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 Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
No new posts High CPU consumption Job using IAM fi... aswinir JCL & VSAM 15 Thu Dec 01, 2016 8:28 pm
No new posts Match or compare two files in VB Format anatol DFSORT/ICETOOL 14 Thu Nov 03, 2016 7:41 pm
No new posts Cobol list of programs being called biswajit.dattagupta COBOL Programming 5 Tue Nov 01, 2016 2:10 am


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