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 

Varying a Job Name and Step Name

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
Dibakar
Advanced


Joined: 02 Dec 2002
Posts: 700
Topics: 63
Location: USA

PostPosted: Fri Jul 18, 2003 2:41 am    Post subject: Varying a Job Name and Step Name Reply with quote

1. I have a JobCard as
Code:
//TSODIBA1 JOB ....

Here first seven characters are user id and whenever someone copies it he has to edit it. Is it possible to pass &SYSUID in the jobname?

2. Similarly I have a step
Code:
//LGE1110   EXEC ASMCL ....

Here stepname is a program name which again has to be edited for every new program. Is it possible to pass a variable, defined by SET, in the stepname?

I could acheive these by putting JCL in a REXX code but I want to know a method limited to JCL techniques only.

Regards,
Diba
Back to top
View user's profile Send private message Send e-mail
Mike
Beginner


Joined: 03 Dec 2002
Posts: 114
Topics: 0
Location: Sydney, Australia

PostPosted: Sun Jul 20, 2003 6:20 pm    Post subject: Reply with quote

I'm pretty sure that the answer to both questions is no.

However you could acheive 1, assuming that the users use the SUBMIT command, by omitting the job statements. If doing so the SUBMIT command kindly utilises your userid, depending upon options you may be asked to specify additonal characters for the jobname. You may be restricted from using this according to site conventions/restrictions.
_________________
Regards,
Mike.
Back to top
View user's profile Send private message
Dibakar
Advanced


Joined: 02 Dec 2002
Posts: 700
Topics: 63
Location: USA

PostPosted: Mon Jul 21, 2003 12:12 am    Post subject: Reply with quote

Thanks Mike,

I will go for REXX solution then.

Diba.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) 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