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
 

 

LIBINDEX * DSSOURCE TSO Command

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
SunitaR

New User


Joined: 10 Aug 2006
Posts: 1

PostPosted: Thu Aug 10, 2006 11:27 am    Post subject: LIBINDEX * DSSOURCE TSO Command
Reply with quote

HI,

Can some one suggest how to go about using this TSO command
in a JCL and to the get O/p of this command in a flat file.

LIBINDEX * DSSOURCE ('xxxxx.yyyy.zzzzz')

Where 'xxxxx.yyyy.zzzzz' is a Libryn and the o/p of above command is listing ll members of this libryn.

I am able to get the o/p when i run this command on TSO command line.

I want to do the same using JCL and get the o/p in dataset. icon_question.gif

Regards
Sunita. icon_question.gif
Back to top
View user's profile Send private message

cpuhawg

Active User


Joined: 14 Jun 2006
Posts: 331
Location: Jacksonville, FL

PostPosted: Thu Aug 10, 2006 7:05 pm    Post subject: Re: LIBINDEX * DSSOURCE TSO Command
Reply with quote

TSO JCL follow:

Code:

//JOBCARD JOB (XXXX,XXXX),'XX ANALYST',CLASS=I,MSGCLASS=R,
//   NOTIFY=XX9999                                         
//STEP1 EXEC PGM=IKJEFT01                                 
//SYSTSPRT DD DSN=HLQ.OUTPUT.DATASET,                     
//         UNIT=SYSDA,DISP=(,CATLG),                       
//         SPACE=(TRK,(50,50),RLSE)                       
//SYSTSIN  DD *
LIBINDEX * DSSOURCE ('xxxxx.yyyy.zzzzz')
/*
                                   


I didn't get to test it, but the IKJEFT01 program can execute TSO commands. The output would be sent to SYSTSPRT.
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 TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts Customizing the ISPF HILITE Command Pedro TSO/ISPF 3 Fri Mar 03, 2017 11:49 pm
No new posts Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
No new posts SDSF Command Avtrix CLIST & REXX 4 Fri Sep 30, 2016 11:13 am


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