Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Mainframe scheduling tool ddhar Compuware & Other Tools 2 Wed Sep 27, 2017 12:48 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us