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
 
Labels on DFSORT control statements

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

New User


Joined: 15 Nov 2007
Posts: 39
Location: New York

PostPosted: Thu Jan 07, 2010 3:03 am    Post subject: Labels on DFSORT control statements
Reply with quote

Frank,

I see the "Label Field" information on page 85 of the most recent DFSORT Application Programming Guide. I understand the syntax of labels, but I'm having a difficult time understanding their purpose. Do labels serve any programmatic function? Or do they essentially serve as documentation only?

BTW, the new JOINKEYS feature is wonderful.

Thanks so much,

David
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: Thu Jan 07, 2010 4:30 am    Post subject:
Reply with quote

Labels just serve as documentation. I believe the original intent was to make the DFSORT control statements look like Assembler statements, e.g.

Code:

label  operator operands remarks


but I don't see a good reason for them either and they introduce some "gotchas":

Labels are NOT allowed in control statements in DFSPARM or in the parameter lists. And because of labels, the operator cannot start in column 1. People often code the operator in column 1 leading to a syntax error message.

This was all decided about a decade before I joined the sort group by the original developers from Sweden - we're still stuck with it for compatability reasons.

When I designed the new syntax for ICETOOL, I did NOT allow labels and I did allow the operator to start in column 1.

I'm glad you like the JOINKEYS feature. icon_biggrin.gif
Back to top
View user's profile Send private message
David Eisenberg

New User


Joined: 15 Nov 2007
Posts: 39
Location: New York

PostPosted: Thu Jan 07, 2010 8:12 pm    Post subject: Reply to: Labels on DFSORT control statements
Reply with quote

>This was all decided about a decade before I joined the sort group by the original developers from Sweden<

Ja, dat explains eet. icon_smile.gif

I had also been looking for an ISPF HILITE language that seemed appropriate for DFSORT/ICETOOL control cards. Your explanation of the history explains why that's tricky; the DFSORT and ICETOOL syntaxes were developed independently.

Thanks for the quick response.

David
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 Control M - Predecessor/successor of ... SRIDEVI TANTRY Compuware & Other Tools 6 Sun May 06, 2018 10:57 am
No new posts Remove all Parenthetical Statements -... JayaprakashT DB2 2 Fri Apr 27, 2018 3:57 am
No new posts Need urgent suggestion on DFSORT subratarec DFSORT/ICETOOL 6 Wed Mar 21, 2018 8:46 pm
No new posts How to control Panel Attributes throu... rsshanmugam CLIST & REXX 3 Mon Feb 26, 2018 9:51 pm
No new posts Formatting using DFsort Guru Nandu DFSORT/ICETOOL 5 Thu Nov 30, 2017 7:33 am

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