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
 

 

Tool to check the Syntax error in DFSORT control Card

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
shrivatsa
Warnings : 1

Active User


Joined: 17 Mar 2006
Posts: 171
Location: Bangalore

PostPosted: Mon Mar 03, 2008 8:17 pm    Post subject: Tool to check the Syntax error in DFSORT control Card
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 Moderator


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

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

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

Senior Member


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

PostPosted: Mon Mar 03, 2008 10:50 pm    Post subject:
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 Moderator


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

PostPosted: Mon Mar 03, 2008 11:11 pm    Post subject:
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    Post subject:
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 Moderator


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

PostPosted: Tue Mar 04, 2008 1:48 am    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Tue Mar 04, 2008 3:58 am    Post subject:
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: 171
Location: Bangalore

PostPosted: Tue Mar 04, 2008 9:43 am    Post subject:
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

Site Director


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

PostPosted: Tue Mar 04, 2008 9:50 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am
No new posts Check Binary Values for symbols gandikk CA Products 3 Tue Mar 21, 2017 5:11 am
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm
No new posts INVOKE WEBSERVICE error danik56 CICS 11 Thu Mar 09, 2017 11:52 am


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