IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Validating accounting code in job


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 8797
Location: Welsh Wales

PostPosted: Wed Aug 25, 2010 2:08 pm
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
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: 8797
Location: Welsh Wales

PostPosted: Wed Aug 25, 2010 2:43 pm
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
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: 8797
Location: Welsh Wales

PostPosted: Wed Aug 25, 2010 3:04 pm
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
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Aug 25, 2010 4:54 pm
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

Moderator Emeritus


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

PostPosted: Wed Aug 25, 2010 7:42 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts Validating record count of a file is ... DFSORT/ICETOOL 13
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts VSAM return code 23 - for a Random read COBOL Programming 4
Search our Forums:

Back to Top