How to comment DQL scripts?
May know where you are using this DQL script?
Inside custom java application, based on DFC.
Try these things,
The beginning of a comment with a double hyphen (-). When executing the script, DataEase ignores all text between the double hyphen and the end of the line.
eg:
-- This script lists MEMBERS from Texas.
for MEMBERS with STATE = "TX" ; -- select Texas members.
list records -- Print the members' FIRST NAME; -- first and last names. LAST NAME. end -- end of script.
or
you can try this also // or # for commenting DQL scripts...
May this things helpfull for you.
Srinivasan Ramachandran, thanks, but I asked about Documentum Query Language, not about DataEase Query Language.
Commenting with a double hyphen (-) not working for me.
#
are you tried using # ...
tried #.
select * #comment from dm_location
it's not working
ya flute... you can not put comments into the middle of DQL statements... Comments go on a seperate line
Brian Dinneen, thanks, now it's work.
But I think it's the lack of DQL - no comments inside statements.
you can't embed comments in a DQL statement.the parser doesn't support it. when writing scripts to be piped to IAPI command line the # character is used.