Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Browse dataset

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
cvnlynn

New User


Joined: 14 Jun 2017
Posts: 31
Location: US

PostPosted: Tue Jul 18, 2017 3:52 am    Post subject: Browse dataset
Reply with quote

'FTOPEN TEMP'
'FTINCL CSA1510'
'FTCLOSE'
'VGET ZTEMPF'

'BROWSE DATASET ('ZTEMPF')'

from the TRACE
260 *-* 'BROWSE DATASET ('ZTEMPF')'
>L> "BROWSE DATASET ("
>V> "MWCXN3.SPFTEMP1.CNTL"
>O> "BROWSE DATASET (MWCXN3.SPFTEMP1.CNTL"
>L> ")"
>O> "BROWSE DATASET (MWCXN3.SPFTEMP1.CNTL)"

ISRD028

Data set not cataloged
'MWCXN3.MWCXN3.SPFTEMP1.CNTL' was not found in catalog

Please tell me why I got my prefix userid twice.
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8187
Location: East Dubuque, Illinois, USA

PostPosted: Tue Jul 18, 2017 4:20 am    Post subject: Reply to: Browse dataset
Reply with quote

Because TSO has a PREFIX operand in the PROFILE command that controls whether or not to put your user id on the front of all data sets that are not fully qualified. What makes a data set fully qualified? When you put quote marks around the data set name. When you don't put quote marks around the data set name, the system will add your user id to the front of the data set name (assuming PROFILE PREFIX is set).
Back to top
View user's profile Send private message
Willy Jensen

Active User


Joined: 01 Sep 2015
Posts: 171
Location: Switzerland

PostPosted: Tue Jul 18, 2017 3:26 pm    Post subject:
Reply with quote

or in other words, as ZTEMPF returns the fully qualified datasetname, you must put quotes around it in your BROWSE command.
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2088
Location: Silicon Valley

PostPosted: Tue Jul 18, 2017 9:31 pm    Post subject: Reply to: Browse dataset
Reply with quote

Quote:
the system will add your user id

The system will add your prefix to the data set. It might not be your userid.
Back to top
View user's profile Send private message
cvnlynn

New User


Joined: 14 Jun 2017
Posts: 31
Location: US

PostPosted: Tue Jul 18, 2017 10:20 pm    Post subject:
Reply with quote

thanks everyone.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us