REXX/CLIST for Job card.
Moderator: mickeydusaor
REXX/CLIST for Job card.
Hello,
Could you please guide me to write a code to get the Job-Card with a TSO command automatically; for example if user types jobcard command line and gets the job-card in turn inserted.
Could you please guide me to write a code to get the Job-Card with a TSO command automatically; for example if user types jobcard command line and gets the job-card in turn inserted.
- Robert Sample
- Global Moderator
- Posts: 1891
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: REXX/CLIST for Job card.
The job card is EXTREMELY specific to each site -- some sites use one accounting field, or two, or three, or five, or none -- so to a large degree what you want can only be achieved by someone working at your site.
- Anuj Dhawan
- Founder
- Posts: 2801
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: REXX/CLIST for Job card.
As Robert has said that the job card is specific to each site, as it uses some parameters which are specific to the shop you are working at. However, your post is in TSO, ISPF & REXX part of the Forum, I've presumed that you're looking for an edit macro, if yes - you might try using this edit macro. This will create a job name with your RACF ID plus "A". So if your ID is XY1234Z - the job name will be XY1234ZA. You also need to replace all the "x"s with appropriate substitutions specific to your shop.
Code: Select all
/* REXX */
ADDRESS ISREDIT
'MACRO'
"LINE_AFTER 0 = '//"USERID()"A JOB (,,,,),'"
"LINE_AFTER 1 = '// xxxxx, '"
"LINE_AFTER 2 = '// CLASS=x, '"
"LINE_AFTER 3 = '// NOTIFY=xxxxxx, '"
"LINE_AFTER 4 = '// MSGCLASS=x'"
"LINE_AFTER 5 = '//* '"
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Re: REXX/CLIST for Job card.
Thanks Robert.
Thanks Anuj - this is what I was looking forward to, thanks for the direction.
Regards,
Bob
Thanks Anuj - this is what I was looking forward to, thanks for the direction.
Regards,
Bob
- Anuj Dhawan
- Founder
- Posts: 2801
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: REXX/CLIST for Job card.
You're welcome!
Glad that we had been helpful.
Glad that we had been helpful.
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
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