MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Using HLIST in batch mode.

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
ranga_subham
Intermediate


Joined: 31 Jan 2006
Posts: 255
Topics: 72

PostPosted: Fri Sep 19, 2008 8:48 am    Post subject: Using HLIST in batch mode. Reply with quote

Hi,

I have written the below given job to capture data of a migrated dataset into output file using HLIST with IKJEFT01 but in vain.

Code:

//STEP0100 EXEC PGM=IKJEFT01                     
//*                                             
//SYSTSPRT DD SYSOUT=*                           
//SYSTSIN  DD *                                 
  HLIST DSN('GILLA.ARIMU.KOPA.CARSINDI.G0001V00')
//*                                             


After submitting it the output is thrown to screen but not to the SYSTSPRT !

Please help.

Thanks.
_________________
Ranga
*****
None of us is as smart as all of us - Ken Blanchard
Back to top
View user's profile Send private message
Dibakar
Advanced


Joined: 02 Dec 2002
Posts: 702
Topics: 64
Location: USA

PostPosted: Fri Sep 19, 2008 10:05 am    Post subject: Reply with quote

Code:
HLIST DSN('GILLA.ARIMU.KOPA.CARSINDI.G0001V00') ODS('GILLA.HLIST')


If the output file doesn't exist then it will be created. If it exist then make sure it is of format FBA and length 121
Back to top
View user's profile Send private message Send e-mail
ranga_subham
Intermediate


Joined: 31 Jan 2006
Posts: 255
Topics: 72

PostPosted: Fri Sep 19, 2008 11:14 am    Post subject: thank you Reply with quote

Dibakar, thank you very much......

I believe below should be fine if there are more datasets.....

Code:

HLIST DSN('INPUT.DATASET.ONE'     -
                 'INPUT.DATASET.TWO'     -
                 'INPUT.DATASET.THREE   -
                 'INPUT.DATASET.FOUR)
ODS('DSNLIST.OUT')


Thanks.
_________________
Ranga
*****
None of us is as smart as all of us - Ken Blanchard
Back to top
View user's profile Send private message
Dibakar
Advanced


Joined: 02 Dec 2002
Posts: 702
Topics: 64
Location: USA

PostPosted: Fri Sep 19, 2008 1:15 pm    Post subject: Reply with quote

no clue, someone has to test it.
Back to top
View user's profile Send private message Send e-mail
ranga_subham
Intermediate


Joined: 31 Jan 2006
Posts: 255
Topics: 72

PostPosted: Fri Sep 19, 2008 10:30 pm    Post subject: Thx Reply with quote

I will try it...... Smile

Thanks.
_________________
Ranga
*****
None of us is as smart as all of us - Ken Blanchard
Back to top
View user's profile Send private message
expat
Intermediate


Joined: 01 Mar 2007
Posts: 475
Topics: 9
Location: Welsh Wales

PostPosted: Sat Sep 20, 2008 4:30 am    Post subject: Reply with quote

Look at the HLIST LVL parameter to get what you need
_________________
If it's true that we are here to help others,
then what exactly are the others here for ?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group