SAS Data Integration Studio, DataFlux Data Management Studio, SAS/ACCESS, SAS Data Loader for Hadoop and others

Parallel Iterator in DM Studio

Reply
New Contributor
Posts: 2

Parallel Iterator in DM Studio

Hi!

How get Instance_id like variable in expression within Data Job inside Parallel Iterator process job?

SAS Employee
Posts: 33

Re: Parallel Iterator

Hi Romix,

It's not obvious to me what your question is. Can you explain in more detail what you are trying to do within the Parallel Iterator node, perhaps with an example?

Regards,

Mike F.

New Contributor
Posts: 2

Re: Parallel Iterator

Hi Mike,

May be this screenshot will help us.

sas_dq.PNG

I would like to recieve and to use Instance_Id inside Data job node.

For example, I want to cut the table in to 4 parts and do parallel processing with index.

SAS Employee
Posts: 85

Re: Parallel Iterator

I believe this is just a counter to let you know which iteration of the iterator is running. Depending on what exactly you are doing, you could get a row count and divide the table into 4 equal parts using row counts.

SAS Employee
Posts: 33

Re: Parallel Iterator

Hi Romix,

I have attached an example job, though I am not sure if it does exactly what you are looking for.

The job creates a NEW_PRODUCTS table, then, for each Product Category, reads the data from the PRODUCTS table, reformats the PRODUCT CODE and writes the values to the NEW_PRODUCTS table.  After all Product Category records have been processed by the Parallel Iterator, indexes are then created on the NEW_PRODUCTS table.

Have a look and see if it helps illustrate how to use this feature.

Regards,

Mike F.

Attachment
Occasional Contributor
Posts: 14

Re: Parallel Iterator

Hi Mike,

 

I know there has been some time since your last post to this particular thread. The topic is relevant for what I'm working on now so I'm hoping you can help me out. Do you have the referenced data job that the process job uses so I can see the job in it's entirety? The zip file only has the process job, but in the parallel iterator node it references a data job that isn't there.  I just want to see how the data job is pulling the value from the process table reader. Also, based on the naming convention of the file (CH04_parallel_iterator_example), I assume the CH04 means Chapter 4, and that there are other files available. Any chance that you could provide these as well?

Ask a Question
Discussion stats
  • 5 replies
  • 697 views
  • 2 likes
  • 4 in conversation