I forgot how to read a passed string to the column map procedure when it is called from a column map. I've done this a while ago but forgot. I scrutinized the manuals but couldn't find it anywhere.
This is so simple yet my brain has stopped working (another issue which I won't bore you with).
Within a column map you can call the column map procedure as follows:
PROC TEST.CM ('hello World')
How do I read the string in the column map procedure?
I know I'm going to slap my head for this one.
Pinned topic Passing values to a Column Map Procedure
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-05-03T11:48:26Z at 2012-05-03T11:48:26Z by SystemAdmin
SystemAdmin 110000D4XK301 Posts
Re: Passing values to a Column Map Procedure2012-05-03T11:48:26ZThis is the accepted answer. This is the accepted answer.I have those days too! I think you are looking for the Arg and ArgCount functions:
Hidden in the Optim Basic Reference:
Returns, as a string, the argument for the nth parameter, passed to the procedure as long.
Returns, as long, the number of parameters passed to the procedure.