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

LIBINDEX * DSSOURCE TSO Command


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts DTL - how to define key with stacked ... TSO/ISPF 3
No new posts LTJ command CA Products 4
No new posts Query on edit primary command CLIST & REXX 5
Search our Forums:

Back to Top