PROTOTYPEParam

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
harryhome
Participant
Posts: 112
Joined: Wed Oct 18, 2006 7:10 am

PROTOTYPEParam

Post by harryhome »

hi

This is a piece of shell script which is running in Job Control tab in server job.
You will find "PrototypeJob" a job parameter in third line of code. The default value for same is "PROTOTYPEParam".
i m searching for this file which is having parameter names and their default values.
Can anybody tell me where this file is getting created.



If UPCASE(AreYouSure) = "Y" Then
Open "DS_JOBS" TO F.DS_JOBS Then
Readv PrototypeNbr from F.DS_JOBS,PrototypeJob,5 Then
OPEN "DS_JOBOBJECTS" TO F.DS_JOBOBJECTS Then
PrototypeRootObjName = "J\":PrototypeNbr:"\ROOT"





Coder for same is out of contact.......:)
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

In this case the value for PrototypeJob is supposed to be the name of a job, that line reads DS_JOBS to get the job number for that job name. The default value for this parameter is stored in the job design itself.
harryhome
Participant
Posts: 112
Joined: Wed Oct 18, 2006 7:10 am

Post by harryhome »

Thanks for quick reply.

I ll like to give u more information on job parameters which are defined for this job.

parmeter : AreYouSure
default value : Y
description : Safety switch - Must be set to Y in order to do anything


parmeter :PrototypeJob
default value :PROTOTYPEParam
description :Parameters and parameter values to be used as default values

Now, this job is used to define the job parmeter to other jobs.
i m under the impression that the job parameter PrototypeJob (having default value "PROTOTYPEParam") is point to some file which is having list of jobparameters with default values and i m searching for tha same file to do some modifications.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

HarryHome - I now see what you are looking for. The value will be in the DSParams file in your project directory, set using the administrator.
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

No, harryhome is probably looking at a Batch utility job that I wrote. The job is available on my website for download and is called Batch::UTILSetDefaultParams. I recognize the EXACT match of logic and variables names and parameter prompts, so harryhome can direct their questions to me on this job.

It takes a supplied job name and copies the parameters defined in that job to other jobs you have designated, either by folder or substring name match. The information and documentation is available on my website under the Members Area.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Re: PROTOTYPEParam

Post by DSguru2B »

harryhome wrote: Coder for same is out of contact.......:)
What do you say now harryhome :wink:
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Re: PROTOTYPEParam

Post by kcbland »

DSguru2B wrote:
harryhome wrote: Coder for same is out of contact.......:)
What do you say now harryhome :wink:
It's never surprising, as this poster is not the first to have copies of the freeware on my site represented by their contractors as their own diligent efforts and past experiences.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

That's why I include a copyright notice and a condition of use that the notice remains. Whether it works or not I have no idea but, if I ever encounter a violation, I intend to prosecute.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply