How copy certain job from certain PDS and change the JOB card?

JES2/3, JCL, utilities.
Post Reply
User avatar
demecarv
Registered Member
Posts: 52
Joined: Sat Sep 12, 2015 2:03 am

How copy certain job from certain PDS and change the JOB card?

Post by demecarv »

I am very beginner in Mainframe and I received this task:
"copy certain job (DTLICTT2) from certain PDS (TEST.TS.A.CNTL) and change the JOB card".
How can I do this? I added two screen shot: one shows the PDS details and other shows how I am trying to copy but I am getting the message "Dataset not cataloged". I guess I am very close to do but certainly I am missing some extra step.
You do not have the required permissions to view the files attached to this post.
enrico-sorichetti
Global Moderator
Global Moderator
Posts: 825
Joined: Wed Sep 11, 2013 3:57 pm

Re: How copy certain job from certain PDS and change the JOB card?

Post by enrico-sorichetti »

read about the TSO PREFIX

instead of

Code: Select all

somedatasetname
use

Code: Select all

'somedatsetmame'
so that Your TSO prefix ( the userid ) is not prepended to the dataset name

Code: Select all

USERID.somedatasetname
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort 8-)
zprogrammer
Global Moderator
Global Moderator
Posts: 588
Joined: Wed Nov 20, 2013 11:53 am
Location: Mars

Re: How copy certain job from certain PDS and change the JOB card?

Post by zprogrammer »

Give the dataset name within quotes ad it should work
zprogrammer
utkarsh
Registered Member
Posts: 64
Joined: Fri Jun 21, 2013 10:32 pm

Re: How copy certain job from certain PDS and change the JOB card?

Post by utkarsh »

If you hit F1 key once it will show more explantipon on that message and with another hit on it, it should further explain it all. That should be helpful.
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1886
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: How copy certain job from certain PDS and change the JOB card?

Post by Robert Sample »

Looks like IBM is running the mainframe contest again this year.
vikriih
New Member
Posts: 8
Joined: Sat Oct 24, 2015 3:31 pm

Re: How copy certain job from certain PDS and change the JOB card?

Post by vikriih »

TEST.TS.A.CNTL is a Sequencial data and not a PDS..it needs to be a PDS to have a member JCL
William Collins
Global Moderator
Global Moderator
Posts: 490
Joined: Sun Aug 25, 2013 7:24 pm

Re: How copy certain job from certain PDS and change the JOB card?

Post by William Collins »

And you have determined that how?
User avatar
Akatsukami
Global Moderator
Global Moderator
Posts: 122
Joined: Tue Oct 20, 2015 3:20 am
Location: Bloomington, IL
Contact:

Re: How copy certain job from certain PDS and change the JOB card?

Post by Akatsukami »

vikriih wrote:TEST.TS.A.CNTL is a Sequencial data and not a PDS..it needs to be a PDS to have a member JCL
Incorrect; if you enlarge PDS Details.png, you will see that the data set is explicitly stated to be DSORG=PO.
"I come to the conclusion that, men loving according to their own will and fearing according to that of the prince, a wise prince should establish himself on that which is in his own control and not in that of others." -- Niccolò Machiavelli
vikriih
New Member
Posts: 8
Joined: Sat Oct 24, 2015 3:31 pm

Re: How copy certain job from certain PDS and change the JOB card?

Post by vikriih »

Sorry I did not see PDS in the screenshot
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “JCL - Job Control Language.”