View previous topic :: View next topic
|
Author |
Message |
shrivatsa Warnings : 1 Active User
Joined: 17 Mar 2006 Posts: 174 Location: Bangalore
|
|
|
|
hi,
Is there any tool to check errors in DFSORT control cards without submitting the job.
Example like JSCAN, JEM or PREP
Thanks
Shrivatsa |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Not that I know of. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Hi,
If you are talking about errors such as
Code: |
INVALID INREC STATEMENT |
shown in SYSOUT of some sort JCL, then i think answer is No.
Such an error is logical error & not a syntax error, so they'll not be checked or perhaps I've never thought/heard for such a tool.
HTH... |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Quote: |
Such an error is logical error & not a syntax error, so they'll not be checked or perhaps I've never thought/heard for such a tool |
The answer is No regardless. You can only see the DFSORT error messages (of any type) by submitting the job. |
|
Back to top |
|
|
Bill Dennis
Active Member
Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
|
|
|
|
We use ProJCL and it will detect some syntax errors on SORT control cards in SYSIN DD * while checking the JCL. |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Really? Does it understand DFSORT's advanced functions like IFTHEN, PARSE, SQZ, JFY, etc? Or does it just do the basic stuff? |
|
Back to top |
|
|
Bill Dennis
Active Member
Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
|
|
|
|
Some simple errors were caught by ProJCL:
Code: |
OPTION COPY
INREC IFTHEN=(WREN=(1,A,CH,EQ,C'DTL'),
: |
detected WREN as invalid keyword for this statement type, but did not detect 'A' as a bad length parameter.
It did detect invalid length in
Code: |
SORT FIELDS=(1,A,CH,A) |
|
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
detected WREN as invalid keyword for this statement type, but did not detect 'A' as a bad length parameter. |
Possibly because WREN terminated the checking at that point of that statement |
|
Back to top |
|
|
shrivatsa Warnings : 1 Active User
Joined: 17 Mar 2006 Posts: 174 Location: Bangalore
|
|
|
|
Quote: |
We use ProJCL and it will detect some syntax errors on SORT control cards in SYSIN DD * while checking the JCL |
Can you tell me how to use ProJCL?
Thanks
Shrivatsa |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
Can you tell me how to use ProJCL? |
First, your organization would need to purchase/license the product.
For info, i'd suggest http://www.asg.com/products/products.asp for a starting place. |
|
Back to top |
|
|
|