Full documentation is available at:
http://www-306.ibm.com/software/data/u2/pubs/library/

There is also some that you may find helpful at:
http://members.aol.com/_ht_a/mbtexts/index.html and
http://members.aol.com/_ht_a/mbtpublish/index.html

The first thing you may want to do to use the pick syntax is turn
UDT.OPTIONS 2 ON (by entering that at the command prompt). You can also put
that in the login item in the voc so it's set whenever you login.

Obviously, it's not seeing MYBP as a DIR type file. First make sure it is an
actual directory, second, make sure the VOC item identifies it as such. CT
VOC MYBP. VOC is the UD equivalent of the Pick MD. It should show:
<1> DIR
<2> MYBP
<3> D_MYBP

This means it would have to be a directory under the current directory.

The other thing that may get you: you need to treat everything in UD as
case-sensitive - especially if you are using Pick syntax. For example: COPY
with ECL type 'p' uses pick syntax but copy will use the UD syntax (even if
you specify 'p'). Files, items, and dicts are also case-sensitive - even in
Windows.

hth
-- 
Colin Alfke
Calgary, Alberta Canada

"Just because something isn't broken doesn't mean that you can't fix it"

Stu Pickles


>-----Original Message-----
>From: Uni Noob [mailto:[EMAIL PROTECTED]
>Sent: Monday, May 31, 2004 7:27 PM
>To: u2
>Subject: [U2] [UD] syntax errors
>
>
>I have a new unidata PE and it gives me "syntax error"
>messages at ECL, even when I know the commands are
>valid. If I type "where" between bad commands or maybe
>hit the CR a couple times it look like the error is
>cleared and sometimes a valid command will work. I
>used ecltype "P" and basictype "P" cuz I know older
>pick but it doesn't make ECL forgive me any more.
>Changing case doesn't seem to help. If I say
>BASIC MYBP MYPROG
>it still gives me error "MYBP isn't a DIR or LD type
>file" - well yes it is a DIR file! and if I type the
>command again it just give me a syntax error anyway,
>so I don't think this is me that's messed up.
-------
u2-users mailing list
[EMAIL PROTECTED]
http://www.u2ug.org/listinfo/u2-users

Reply via email to