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
 

 

Can SYSIN errors be rectified without submitting the JOB?

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

New User


Joined: 31 Oct 2013
Posts: 5
Location: India

PostPosted: Thu Oct 31, 2013 11:59 am    Post subject: Can SYSIN errors be rectified without submitting the JOB?
Reply with quote

Hi All,

Scenario:
We have modified a JCL and we need to deploy it without executing. Can we capture SYSIN errors (or any JCL error) without executing Job? Is there any way to do it?

1. When we execute Easytrieve program with TYPRUN=SCAN, it cannot catch errors in SYSIN parameters. e.g.
suppose SYSIN has condition

IF I = 'A'
...
...
and we accidentally type
IF I = 'A (single quote is missing)
...
...
this is not captured through TYPRUN=SCAN but when we submit the JCL this would give us a JCL error.

We have some site utilities to compare - BEFORE and AFTER source codes, but this doesn't yield the required answer.

Can somebdoy give some suggestion to avoid such issues other than through self review?
Just wanted to know, if there is some way to capture the SYSIN errors without actually executing the Job?

Thanks!
Back to top
View user's profile Send private message

magesh23586

Active User


Joined: 06 Jul 2009
Posts: 158
Location: Chennai

PostPosted: Thu Oct 31, 2013 12:23 pm    Post subject: Reply to: Can SYSIN errors be rectified without submitting t
Reply with quote

Check whether your shop has JJ or JEM or JJSCAN etc... Such utility might do a little, but not all the parameters..
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: Thu Oct 31, 2013 12:24 pm    Post subject:
Reply with quote

So what are you saying, that you do not have a test environment where you test any changes before deployment.

If so, that is extremely bad practice. Every little change needs to be thoroughly tested before being deployed into production.
Back to top
View user's profile Send private message
techie09

New User


Joined: 31 Oct 2013
Posts: 5
Location: India

PostPosted: Thu Oct 31, 2013 12:29 pm    Post subject: Reply to: Can SYSIN errors be rectified without submitting t
Reply with quote

Hi magesh23586,

Thanks for the reply.

We have something similar "JCL", but even this doesn't help. Moreover we use CA Roscoe with no TSO access.
Back to top
View user's profile Send private message
magesh23586

Active User


Joined: 06 Jul 2009
Posts: 158
Location: Chennai

PostPosted: Thu Oct 31, 2013 12:49 pm    Post subject: Reply to: Can SYSIN errors be rectified without submitting t
Reply with quote

I couldnt find any other option for you, testing will be the only solution... icon_sad.gif
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Thu Oct 31, 2013 1:11 pm    Post subject:
Reply with quote

The contents of SYSIN will never generate a JCL error, the program reading the SYSIN contents does the validating and handle any errors(abend, rc > 0,etc).
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7223

PostPosted: Thu Oct 31, 2013 1:44 pm    Post subject: Reply to: Can SYSIN errors be rectified without submitting t
Reply with quote

You can do a syntax-only check of an Easytrieve Plus program. In your case, if you are running it inline, you can even compile it. The TYPRUN=SCAN has done your JCL. The syntax-check/compile does the program.

JCL Checkers could check a program (call the language-processor) but I don't think any of them do.
Back to top
View user's profile Send private message
techie09

New User


Joined: 31 Oct 2013
Posts: 5
Location: India

PostPosted: Thu Oct 31, 2013 2:05 pm    Post subject:
Reply with quote

Many Thanks to all for your replies. Even I had similar understanding that it is difficult to capture such errors, but just wanted to check with experts before concluding it.

Thanks!
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7223

PostPosted: Thu Oct 31, 2013 3:10 pm    Post subject: Reply to: Can SYSIN errors be rectified without submitting t
Reply with quote

What is difficult about it? You put the Easytrieve Plus program in a PDS(E). You run a step to syntax-check that member.

If concerned about the JCL, run with TYPRUN=HOLD.

You can still get errors afterwards (dataset missing, duplicate dataset for instance).
Back to top
View user's profile Send private message
techie09

New User


Joined: 31 Oct 2013
Posts: 5
Location: India

PostPosted: Thu Oct 31, 2013 3:35 pm    Post subject: Reply to: Can SYSIN errors be rectified without submitting t
Reply with quote

Hi Bill,

Thanks for your reply. Let me try this and get back to you on this.

Thanks!
Back to top
View user's profile Send private message
techie09

New User


Joined: 31 Oct 2013
Posts: 5
Location: India

PostPosted: Thu Nov 07, 2013 10:01 am    Post subject:
Reply with quote

Hi All,

Apologies for late reply, but after multiple discussions and brainstorming it has been decided to modify the process undertaken for review and deployment. Also, we had a discussion on suggestion regarding using PDS for Easytrieve but client has ruled out this preference because of some internal processes they adhere to.
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7223

PostPosted: Thu Nov 07, 2013 1:16 pm    Post subject: Reply to: Can SYSIN errors be rectified without submitting t
Reply with quote

Thanks for the update. Ironic to see client procedures getting in the way of what they wan't to do...
Back to top
View user's profile Send private message
anatol

New User


Joined: 20 May 2010
Posts: 99
Location: canada

PostPosted: Mon Nov 11, 2013 9:18 pm    Post subject: Reply to: Can SYSIN errors be rectified without submitting t
Reply with quote

you may try to put in your JCL as last step
// EXEC PGM=JSTTEST
it works better than TYPRUN=SCAN and is not actually execute your JCL
Back to top
View user's profile Send private message
anatol

New User


Joined: 20 May 2010
Posts: 99
Location: canada

PostPosted: Mon Nov 11, 2013 9:21 pm    Post subject: Reply to: Can SYSIN errors be rectified without submitting t
Reply with quote

just submit the JCL with additional step PGM=JSTTEST
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
Location: italy

PostPosted: Mon Nov 11, 2013 9:50 pm    Post subject: Reply to: Can SYSIN errors be rectified without submitting t
Reply with quote

please do not post site dependent suggestions
while JSTTEST is available at Your site , it might not be the same for the TS.
Back to top
View user's profile Send private message
anatol

New User


Joined: 20 May 2010
Posts: 99
Location: canada

PostPosted: Mon Nov 11, 2013 10:16 pm    Post subject: Reply to: Can SYSIN errors be rectified without submitting t
Reply with quote

ok, but JSTTEST facility is not home grown tool - it is part of JES3
If you specify the PGM=JSTTEST parameter on an EXEC statement, JES3 uses the job's Job Summary Table (JST) to produce a summary of the devices that should be allocated to your job. JES3 then stops processing the job when it completes converter/interpreter processing; the job is not scheduled for execution. The JCL and JSTTEST output are then printed.

An example of output from the JSTTEST facility is included in the following. The JCL to run the facility is illustrated below:
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7223

PostPosted: Mon Nov 11, 2013 10:57 pm    Post subject: Reply to: Can SYSIN errors be rectified without submitting t
Reply with quote

The problem which cannot be dealt with is the checking of the data cards. The data cards in question are an Easytrieve Plus program. Without being allowed to put the Easytrieve Plus program in a dataset, the Easytrieve Plus program cannot be syntax-checked prior to the run.

Other than by processing the source JCL to strip out the program and syntax check it. Which is nuts if it is much simpler to syntax-check it from a DSN

As to a JES3 solution - not everyone (by a very long way) uses JES3.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Tue Nov 12, 2013 12:56 pm    Post subject:
Reply with quote

Quote:

Without being allowed to put the Easytrieve Plus program in a dataset, the Easytrieve Plus program cannot be syntax-checked prior to the run.


The source can always be syntax checked in-stream, so it being a pds member is not necessary.
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
This topic is locked: you cannot edit posts or make replies. ERROR WHILE SUBMITTING LOAD JOB ANURADHA NEELAKANTAN JCL & VSAM 12 Thu Aug 25, 2016 11:50 am
No new posts Need to know what sysin for DFHTU690 ... pkmurali CICS 3 Mon Jul 25, 2016 1:36 pm
No new posts Several errors during building altern... Andi1982 JCL & VSAM 11 Wed Jul 06, 2016 7:39 pm
No new posts Symbolic Parameters in SYSIN DD state... madishpa DFSORT/ICETOOL 3 Mon Jun 27, 2016 6:23 pm
No new posts SYSIN PDS Library Concatenation Brad McCoy JCL & VSAM 6 Mon Jul 07, 2014 11:49 pm


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