Code usage from Server jobs environment to Parallel jobs ???

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
Developer9
Premium Member
Premium Member
Posts: 187
Joined: Thu Apr 14, 2011 5:10 pm

Code usage from Server jobs environment to Parallel jobs ???

Post by Developer9 »

Hi,

Current Env:parallel edition (7.5) I am doing analysis on "recently moved code "from server edition.(7.5)

1.How to parameter jobs without code modifications for file creation everytime??
2.what things to understand from environment prospective (sources ,db2 connections/configurations,environment variables)??

please share your ideas
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

1. Not possible in version 7.
2. It's totally different. A different mindset is required. Read Parallel Job Developer's Guide as well as the connectivity guide for any database to which you want to connect.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Developer9
Premium Member
Premium Member
Posts: 187
Joined: Thu Apr 14, 2011 5:10 pm

@ray..thanks

Post by Developer9 »

More collaberatively :
We have recently migrated the DataStage code(Scripts DB2UNLOAD.sh ,csvs,ini's etc..)from different dev (A) .Now want to check and see if is feasible to run in current Dev (B) with the changes? Update the jobs (things to consider )???

details:The Environment B..is Parallel extender(Parallel jobs ) and vesrion 7.5.2 andDB2, UNIX and The Env A ..is server jobs and ve 7.5.2 and DB2,UNIX ,

Thank you
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Please clarify what you mean by "DataStage code". Tt seems you are not including the actual jobs in that statement but rather all of the ancillary supporting objects like scripts, source files, etc? Is that true? :?
-craig

"You can never have too many knives" -- Logan Nine Fingers
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Re: Code usage from Server jobs environment to Parallel jobs

Post by chulett »

Developer9 wrote:1.How to parameter jobs without code modifications for file creation everytime??
Ray may have undestood this question but I have no clue what you are asking. Are you asking if you can add parameters to a job without modifying the job itself? Again wondering what exactly "code" means in this context. :?
-craig

"You can never have too many knives" -- Logan Nine Fingers
Developer9
Premium Member
Premium Member
Posts: 187
Joined: Thu Apr 14, 2011 5:10 pm

Re: Code usage from Server jobs environment to Parallel jobs

Post by Developer9 »

chulett wrote:
Developer9 wrote:1.How to parameter jobs without code modifications for file creation everytime??
@chulett


I Have the following scenario needs to be implemented:

Environment:DStage7.5.2(Parallel edition),AIX 5.3,DB2V8.

step1:Unload tables :-We have DB2 Tables:1)base table ex:customer 2)monthly tables (25 ):customer_M1 ,customer_M2...customer_M25 (Loaded at every month)
script used:Unload.sh (unix batch script)..as
#command array#CUSTOMER.sh ...takes table name as parameter ..AND generates file format (customer.exe)
approach:How to run multiple instances of the job to generate the files M1 to M25 ..so that customerM1.exe,customerM2.exe...customerM25.exe ..and This job should be parametrized such that it takes the table name as parameter ???

How we do implement in Batch frame work ??

Thanks ...
Post Reply