If you find such an EBNF or create one of your own, please post it.  I'm way 
curious how you'd define the continuation and wrapping and those "magic" column 
numbers, 72 on the right and I forget how many on the left you can skip (after 
the first column after // ).

I've tried to do some small things with JCL with Rexx, and the parsing wasn't 
easy (for me).  I always wondered how others do those JCL check macros...

Lindy



-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of 
McKown, John
Sent: Friday, November 17, 2006 10:29 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject: strange request: EBNF desc of JCL?

Does anybody have or know of an EBNF description of JCL that I could
feed into Flex or Bison? I'm not really too sure that JCL can be
described with EBNF. But I'm not very familiar with EBNF. Compiler
theory was long ago! And I got a C-.

I'm kind of curious to see if it would be possible to use such to create
some utilities such as a JCL reformatter and/or validator that would run
on my Linux PC (if in Perl or C, then on Windows as well).

Then again, I have nothing to do over the Thanksgiving holiday, so maybe
I'll just try to create such a thing myself.

--
John McKown
Senior Systems Programmer
HealthMarkets
Keeping the Promise of Affordable Coverage
Administrative Services Group
Information Technology

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to