View previous topic :: View next topic |
Author |
Message |
kris_madras Beginner
Joined: 07 Apr 2004 Posts: 46 Topics: 29
|
Posted: Tue May 04, 2004 5:10 am Post subject: Problem in reading Tape dataset |
|
|
Hi all,
A rexx program reading a dataset on DASD and displaying record
count . But the same program when I try to execute with TAPE dataset its giving error message.... "Not mounted..."
But if we can pass data set name explicitly in JCL(dd statement batch
submission), its working fine.....(commenting out alloc statement in rexx)
Any reason for this....? can we read tape dataset using alloc and without passing dd name from jcl......
The question why I am asking is ... requirement is to display record
count from group of files.
Thanks and Regards,
Sai Krishna |
|
Back to top |
|
|
apostrophe Beginner
Joined: 03 Dec 2002 Posts: 3 Topics: 0 Location: Bavaria, Germany
|
Posted: Tue May 04, 2004 5:30 am Post subject: |
|
|
Maybe you are not allowed to allocate tapes in online TSO.
In my shop I need read access to MOUNT in the RACF class TSOAUTH |
|
Back to top |
|
|
kris_madras Beginner
Joined: 07 Apr 2004 Posts: 46 Topics: 29
|
Posted: Tue May 04, 2004 5:38 am Post subject: |
|
|
No,
Did u study the problem? I am reading Tape Datasets .. We can't read ON-Line
in REXX thats why we need batch Rexx to do that.. The problem is if I use DD
statement without alloc in rexx program its working. Is it possible to do alloc
statement only(without dd in jcl)?
kris |
|
Back to top |
|
|
apostrophe Beginner
Joined: 03 Dec 2002 Posts: 3 Topics: 0 Location: Bavaria, Germany
|
Posted: Tue May 04, 2004 6:53 am Post subject: |
|
|
I did some tests. Without read access to MOUNT CL(TSOAUTH) allocation fails within REXX whereas allocation within JCL works.
With read access to MOUNT CL(TSOAUTH) allocation within REXX works (even in online TSO).
[/list][/list] |
|
Back to top |
|
|
|
|