Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Executing a dataset stored in aother USERID

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Executing a dataset stored in aother USERID
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: 413
Location: Colarado, US

PostPosted: Mon Feb 20, 2006 5:34 pm    Post subject: Re: executind job?
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    Post subject:
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    Post subject: Re: Executing a dataset stored in aother USERID
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    Post subject: Re: Executing a dataset stored in aother USERID
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    Post subject: Re: Executing a dataset stored in aother USERID
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 2 Fri Mar 24, 2017 2:24 pm
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm
No new posts JCL to get submitted once dataset has... vinu78 JCL & VSAM 17 Thu Feb 16, 2017 7:32 am
No new posts Query on DB2 WLM stored procedures ashek15 DB2 8 Sun Feb 12, 2017 11:13 pm
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us