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: 6967
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: 8057
Location: East Dubuque, Illinois, USA

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 DB2 Program abending without giving a... rahulgarg14 DB2 3 Mon May 29, 2017 8:10 pm
No new posts Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm
No new posts Need help in reading and validating a... ABINAYATHULASI COBOL Programming 8 Tue Apr 18, 2017 11:42 am


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