REXX/CLIST for Job card.

Time Sharing Option, Interactive System Productivity Facility and REstructured eXtended eXecutor

Moderator: mickeydusaor

Post Reply
User avatar
BobThomas
Registered Member
Posts: 70
Joined: Sat Jun 15, 2013 11:04 am

REXX/CLIST for Job card.

Post by BobThomas »

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.
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1891
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: REXX/CLIST for Job card.

Post by Robert Sample »

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.
User avatar
Anuj Dhawan
Founder
Posts: 2801
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Contact:
India

Re: REXX/CLIST for Job card.

Post by Anuj Dhawan »

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.
User avatar
BobThomas
Registered Member
Posts: 70
Joined: Sat Jun 15, 2013 11:04 am

Re: REXX/CLIST for Job card.

Post by BobThomas »

Thanks Robert.

Thanks Anuj - this is what I was looking forward to, thanks for the direction.

Regards,
Bob
User avatar
Anuj Dhawan
Founder
Posts: 2801
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Contact:
India

Re: REXX/CLIST for Job card.

Post by Anuj Dhawan »

You're welcome!

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.
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 “TSO, ISPF & REXX (Do you still do CLIST?!).”