On Wed, 22 Feb 2017 11:11:58 -0700, Lizette Koehler
(stars...@mindspring.com) wrote about "Re: Question about PARMDD" (in
<11166244.8506.1487787118...@elwamui-huard.atl.sa.earthlink.net>):

> There is no one standard for Parmlib members and comments.
> 
> You would need to see what the DB2 syntax is for this member.

You need to remember that the PARMDD file is read in and concatenated
into a character string. The notion of comments inside a character
string is rather a strange one to me, as a programmer who has been doing
string parsing for decades.

As an illustration, it is directly analogous to putting comments into
the PARM field:

  //STEP1 EXEC PGM=MYPROG,PARM='parm1, /* ignore this */ parm2'

This requires the application to parse the PARM string in such a manner
that the comment convention removes the comment text. The comment
convention must, of necessity, be specific to the application program:
there is no universal comment delimiter. My personal preference would be
the one used in some ALGOL 68 implementations, the cent symbol '¢'. This
would give us:

  //STEP1 EXEC PGM=MYPROG,PARM='parm1, ¢ ignore this ¢ parm2'

It's more succinct than the PL/I comment notation used above, but
anybody who has never used ALGOL 68 could find it confusing.

But the bottom line is that PARMDD is *not* processed as a PARMLIB
member, so comment lines are not applicable.
-- 
Regards,

Dave  [RLU #314465]
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
david.w.n...@googlemail.com (David W Noon)
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to