in routine: utilities of <>

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
samp
Participant
Posts: 25
Joined: Thu Nov 06, 2003 4:34 am

in routine: utilities of <>

Post by samp »

hi,
working on ds7.5, unix environment

i've got a pb.

i don't understand this part of my routine:

-------------------

Seq = ""
Rep=""

***define

Rep<-1>="NameofJob" : @VM: "nameofdirectory"

seq<-1>=resultofaroutine1.
--------------------

the @VM corresponds to wich separator?

which means the bracket <> ? i guess it is for an array...

i would like to store the result of a second routine in an other "part of seq" . ..
is seq<-2>=resultofroutine2 ok?

thanks
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

The "@VM" is a "value mark" and is used to store multiple values in a dynamic array (a string). The "<-1>" means "append value to dynamic array", so you would just do a "seq<-1>=resultofaroutine2" to append another value to the seq list.
Post Reply