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 

Problem in reading Tape dataset

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


Joined: 07 Apr 2004
Posts: 46
Topics: 29

PostPosted: Tue May 04, 2004 5:10 am    Post subject: Problem in reading Tape dataset Reply with quote

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
View user's profile Send private message
apostrophe
Beginner


Joined: 03 Dec 2002
Posts: 3
Topics: 0
Location: Bavaria, Germany

PostPosted: Tue May 04, 2004 5:30 am    Post subject: Reply with quote

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
View user's profile Send private message
kris_madras
Beginner


Joined: 07 Apr 2004
Posts: 46
Topics: 29

PostPosted: Tue May 04, 2004 5:38 am    Post subject: Reply with quote

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
View user's profile Send private message
apostrophe
Beginner


Joined: 03 Dec 2002
Posts: 3
Topics: 0
Location: Bavaria, Germany

PostPosted: Tue May 04, 2004 6:53 am    Post subject: Reply with quote

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
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