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
 
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 MQ command in option 6 of ISPF! Vignesh Sid All Other Mainframe Topics 3 Tue Sep 26, 2017 6:01 pm
No new posts How to change a string containing the... chong.zhou TSO/ISPF 6 Tue Aug 29, 2017 4:54 pm
No new posts Failure after DIR command Hank Watson All Other Mainframe Topics 2 Tue Aug 29, 2017 3:14 am
No new posts Command to find TMEMBER name for a TPIPE Siva NKK Kothamasu IMS DB/DC 0 Wed Aug 16, 2017 6:08 pm
This topic is locked: you cannot edit posts or make replies. rexx to create a tso command Bharath Vikraman CLIST & REXX 1 Tue Aug 08, 2017 3:32 pm

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