OPd/osh files

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
shivadas
Participant
Posts: 48
Joined: Tue Jun 12, 2007 12:10 am

OPd/osh files

Post by shivadas »

Hi Ray/All,

Can you tell me the use of opd and osh files.
how do i make them (code new opd/osh files)
use them
and where do call them.(in custom stage/generic/etc)

Thanks
Shiva
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Make them wherever you like, using a text editor. Call them using osh.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
shivadas
Participant
Posts: 48
Joined: Tue Jun 12, 2007 12:10 am

.opd/.osh files

Post by shivadas »

ray.wurlod wrote:Make them wherever you like, using a text editor. Call them using osh. ...
Hi ray,

Can you tell me how are they used the DS Px. i dont understand how exactly use them. these files have to be compiled...?
where can i get more help on these ...

Thanks
shiva
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

You don't use them at all. DataStage parallel jobs, when compiled, generate the required OSH script. You can view the result if you wish.

This is not a language that you have to learn to use DataStage.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
shivadas
Participant
Posts: 48
Joined: Tue Jun 12, 2007 12:10 am

Error generating code

Post by shivadas »

ray.wurlod wrote:You don't use them at all. DataStage parallel jobs, when compiled, generate the required OSH script. You can view the result if you wish.

This is not a language that you have to learn to use Da ...
while generating stage i am getting the following error

register-library -verbose -registry buildop buildop/CC.sl

Could not find library buildop/CC.sl.. skipping

can any please tell where and when .sl file will be generated & located
AmeyJoshi14
Participant
Posts: 334
Joined: Fri Dec 01, 2006 5:17 am
Location: Texas

Post by AmeyJoshi14 »

Hi,
I am not sure about this, but i rememeber that i have read it in this forum..where exactly i can not recollect... Accordingly, for creating the stage , in the buildop dir the respective .so file should be present so that you can use your stage.

Please let me know
AmeyJoshi14
Participant
Posts: 334
Joined: Fri Dec 01, 2006 5:17 am
Location: Texas

Post by AmeyJoshi14 »

Hi,
I am not sure about this, but i rememeber that i have read it in this forum..where exactly i can not recollect... Accordingly, for creating the stage , in the buildop dir the respective .so file should be present so that you can use your stage.

Please let me know
AmeyJoshi14
Participant
Posts: 334
Joined: Fri Dec 01, 2006 5:17 am
Location: Texas

Post by AmeyJoshi14 »

Hi,
I am not sure about this, but i rememeber that i have read it in this forum..where exactly i can not recollect... Accordingly, for creating the stage , in the buildop dir the respective .so file should be present so that you can use your stage.

Please let me know
shivadas
Participant
Posts: 48
Joined: Tue Jun 12, 2007 12:10 am

opd/osh

Post by shivadas »

Hi,

i am little sucessfull in building the stage. i need a small clarification.

we ref input as in.PolicyName
we ref output as out.PolicyName
PolicyName should be part of your schema file rt.

my opd file contains
$input auto record( PolicyName:string; inRec:*;)

how do i refer (inRec: *; which means n no of Arguments if i am not wrong ) the other fields which i dont know.


Shiva
shivadas
Participant
Posts: 48
Joined: Tue Jun 12, 2007 12:10 am

Re: Error generating code

Post by shivadas »

shivadas wrote:
ray.wurlod wrote:You don't use them at all. DataStage parallel jobs, when compiled, generate the required OSH script. You can view the result if you wish.

This is not a language that you have to learn to use Da ...
while generating stage i am getting the following error

register-library -verbose -registry buildop buildop/CC.sl

Could not find library buildop/CC.sl.. skipping

can any please tell where and when .sl file will be generated & located


Hi,

i am little sucessfull in building the stage. i need a small clarification.

we ref input as in.PolicyName
we ref output as out.PolicyName
PolicyName should be part of your schema file rt.

my opd file contains
$input auto record( PolicyName:string; inRec:*;)

how do i refer (inRec: *; which means n no of Arguments if i am not wrong ) the other fields which i dont know.


Shiva
Post Reply