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

Tool to check the Syntax error in DFSORT control Card


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
shrivatsa
Warnings : 1

Active User


Joined: 17 Mar 2006
Posts: 174
Location: Bangalore

PostPosted: Mon Mar 03, 2008 8:17 pm
Reply with quote

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
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Mon Mar 03, 2008 10:29 pm
Reply with quote

Not that I know of.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Mar 03, 2008 10:50 pm
Reply with quote

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
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Mon Mar 03, 2008 11:11 pm
Reply with quote

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
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Tue Mar 04, 2008 1:07 am
Reply with quote

We use ProJCL and it will detect some syntax errors on SORT control cards in SYSIN DD * while checking the JCL.
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Tue Mar 04, 2008 1:48 am
Reply with quote

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
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Tue Mar 04, 2008 3:41 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Tue Mar 04, 2008 3:58 am
Reply with quote

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 icon_question.gif
Back to top
View user's profile Send private message
shrivatsa
Warnings : 1

Active User


Joined: 17 Mar 2006
Posts: 174
Location: Bangalore

PostPosted: Tue Mar 04, 2008 9:43 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Tue Mar 04, 2008 9:50 am
Reply with quote

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
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 -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
Search our Forums:

Back to Top