IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Executing a dataset stored in aother USERID


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
kumaresh.M

New User


Joined: 17 Feb 2006
Posts: 64
Location: Bangalore

PostPosted: Mon Feb 20, 2006 5:29 pm
Reply with quote

Hi friends,

i have to execute a dataset , its stored in other id,
for example iam working in that id abc001,
i have to execute a dataset which is stored in abc002,
what i have to do,
anyway is there,

(except copying the file and store it in to my region)
Back to top
View user's profile Send private message
iknow

Active User


Joined: 22 Aug 2005
Posts: 411
Location: Colarado, US

PostPosted: Mon Feb 20, 2006 5:34 pm
Reply with quote

Hi,

I think this should work.

Give DS access to the other id. In your case "abc002".

You can do DS sharing using RACF.

Please correct me if I am wrong.
Back to top
View user's profile Send private message
smiley
Warnings : 1

New User


Joined: 08 Feb 2006
Posts: 27

PostPosted: Tue Feb 21, 2006 12:00 pm
Reply with quote

Hi,

How to get the access??Is it possible for us to do tht??If soHow can we do??Please explain it in detail
Back to top
View user's profile Send private message
sonu_winks

New User


Joined: 23 Nov 2005
Posts: 23

PostPosted: Tue Feb 21, 2006 1:44 pm
Reply with quote

being an application programmer u will not have admin rights..giving rights to access some other user's DS is not possible withouth admin rights
Back to top
View user's profile Send private message
santsuda

New User


Joined: 01 Dec 2005
Posts: 5

PostPosted: Tue Feb 21, 2006 7:06 pm
Reply with quote

In the Job Card give USER=abc002,PASSWORD=<PASSWORD>.

By doing this the Job will be assigned to abc002.So Caution shud be taken that the O/P dataset can be stored Only in a Common Dataset(to which both would have access).

Code:

//XXXXXXXX JOB (CORE-INPSYSP,PROD),   
//         CLASS=B,                   
//         USER=abc002,PASSWORD=<P/W>,
//         MSGCLASS=X,NOTIFY=&SYSUID   



Hope this helps.

Thanks,
Santhosh.S
Back to top
View user's profile Send private message
jayant_tibhe

New User


Joined: 25 Feb 2006
Posts: 27
Location: Pune

PostPosted: Sat Feb 25, 2006 4:37 am
Reply with quote

Hi All,

This is exacyly possible as shown in the previous relply.
but the important thing is that,
1)Either you have the access of the ID (Admin rights!!)from where you are going to submit the particular job.
2)Otherwise try with the ID and PW in the job card.

It will work I guess.
icon_rolleyes.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
Search our Forums:

Back to Top