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
 

 

Validating accounting code in job

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
henry_he01

New User


Joined: 14 May 2009
Posts: 9
Location: China

PostPosted: Wed Aug 25, 2010 1:58 pm    Post subject: Validating accounting code in job
Reply with quote

Is there any utility can validate accounting code before executing the following steps?
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Wed Aug 25, 2010 2:08 pm    Post subject:
Reply with quote

You will need to talk to one of your sysprogs (site support / site admin or whatever else that they get called these days) regarding the JES exits.
Back to top
View user's profile Send private message
henry_he01

New User


Joined: 14 May 2009
Posts: 9
Location: China

PostPosted: Wed Aug 25, 2010 2:18 pm    Post subject:
Reply with quote

So besides getting this done by support team, no way to validate/restrict accounting code even for test job?
As I don't want to engage others only for a change in testing environment...
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Wed Aug 25, 2010 2:43 pm    Post subject:
Reply with quote

If a tool is available for a specific task then why reinvent the wheel and create something else.
Back to top
View user's profile Send private message
henry_he01

New User


Joined: 14 May 2009
Posts: 9
Location: China

PostPosted: Wed Aug 25, 2010 3:00 pm    Post subject:
Reply with quote

OK~~

Why I'm asking this is we're going to follow a new standard of accounting code. To avoid submitting jobs with incorrect accounting code, we'd like to add some validation/restriction on this. Of course, our support team can help on this. But the process will be a little complex by engaging them:P....

Could you please provide any suggestions on this as per your experience? Thanks a lot in advance!
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Wed Aug 25, 2010 3:04 pm    Post subject:
Reply with quote

Unfortunately no. I have only encountered the restriction of accounting information via the exit route. Maybe one of the sysprogs may know another way but I think probably not.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed Aug 25, 2010 3:10 pm    Post subject:
Reply with quote

it is a little bailing-wire and rubberbanded, but:

1st establish what validation needs to be done -
  • are there some test jobs that can only use accounting codes 1 - 5 and others only 6-8
  • relationships between keywords in job and accounting code


create a file of valid accounting codes - include any relationship keywords.

write an ISPF MACRO that would validate the accounting code in your jcl based on the file-of-accounting-codes(above).

Other than that you need sysprogs, because the jes exits are not something to which you have access and the accounting-codes file/data that the jes exits use, again, you have no access.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7993
Location: Bellevue, IA

PostPosted: Wed Aug 25, 2010 4:54 pm    Post subject:
Reply with quote

As far as I know, JES exit is the way to do this. ROSCOE supports its own way of validating job accounting information, but that has to be done as part of the ROSCOE installation, so again a systems programmer would be involved.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Aug 25, 2010 7:42 pm    Post subject:
Reply with quote

Hello,

I'm confused as to why anything is needed. . .

Systems that validate the accounting info flush the job if it is invalid.

If the code is valid, but incorrect, it should also pass any newly implemented external edit . . .
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 JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm
No new posts CA Workload Automation event code help vinu78 CA Products 10 Wed Mar 01, 2017 10:05 am
No new posts MAX-RC 88 and Return code 606 in DFH0... lind sh CICS 2 Tue Jan 24, 2017 1:23 pm
No new posts How to Capture the Max return code of... anilkumar922 All Other Mainframe Topics 2 Thu Jan 12, 2017 12:02 pm


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