| View previous topic :: View next topic |
| Author |
Message |
ranga_subham Intermediate

Joined: 31 Jan 2006 Posts: 255 Topics: 72
|
Posted: Fri Sep 19, 2008 8:48 am Post subject: Using HLIST in batch mode. |
|
|
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 |
|
 |
Dibakar Advanced

Joined: 02 Dec 2002 Posts: 702 Topics: 64 Location: USA
|
Posted: Fri Sep 19, 2008 10:05 am Post subject: |
|
|
| 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 |
|
 |
ranga_subham Intermediate

Joined: 31 Jan 2006 Posts: 255 Topics: 72
|
Posted: Fri Sep 19, 2008 11:14 am Post subject: thank you |
|
|
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 |
|
 |
Dibakar Advanced

Joined: 02 Dec 2002 Posts: 702 Topics: 64 Location: USA
|
Posted: Fri Sep 19, 2008 1:15 pm Post subject: |
|
|
| no clue, someone has to test it. |
|
| Back to top |
|
 |
ranga_subham Intermediate

Joined: 31 Jan 2006 Posts: 255 Topics: 72
|
Posted: Fri Sep 19, 2008 10:30 pm Post subject: Thx |
|
|
I will try it......
Thanks. _________________ Ranga
*****
None of us is as smart as all of us - Ken Blanchard |
|
| Back to top |
|
 |
expat Intermediate

Joined: 01 Mar 2007 Posts: 475 Topics: 9 Location: Welsh Wales
|
Posted: Sat Sep 20, 2008 4:30 am Post subject: |
|
|
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 |
|
 |
|
|
|