SDKSequence

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
appcon
Participant
Posts: 23
Joined: Wed Jul 07, 2004 8:11 am

SDKSequence

Post by appcon »

HI,

I am trying to generate sequence number using the sdk/KeyMgt> KeyMgtGetNextValue. During the course, I accidentally deleted the SDKSequence file that's generated by this function. Now I am getting this error. And the job is not running as before.

"SDKSequences" is already in your VOC file as a file definition record.
File name = Attempting to Cleanup after ABORT raised in stage CopyOftest..Transformer_1
DataStage Phantom Aborting with @ABORT.CODE = 3

Could anyone help me with this problem.

Thanks in advance.
roy
Participant
Posts: 2598
Joined: Wed Jul 30, 2003 2:05 am
Location: Israel

Post by roy »

Hi,
since the file exists in your voc file if any attempts to create a new entry with an existing name without the overriding clause will fail the simplest way would be to delete this entry in the voc file (don't play with it if you don't knoww how) you can find in this forum posts on how to do the above.
another way is to simply use another file name (by copying the routine in another name and changing the file name so it will have a new voc name entry)
this will also enable you to have multiple indipendant keys for different uses.

IHTH,
Roy R.
Time is money but when you don't have money time is all you can afford.

Search before posting:)

Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
Image
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

DELETE VOC SDKSequences
Mamu Kim
appcon
Participant
Posts: 23
Joined: Wed Jul 07, 2004 8:11 am

Post by appcon »

[quote="kduke"]DELETE VOC SDKSequences[/quote]


How to access VOC..I mean how to open that file on the front end. Or is it something I need to do on cmd prompt. Any specific syntax or cmd lines.

I appreciate if you can provide some more details.

Thanks,
chucksmith
Premium Member
Premium Member
Posts: 385
Joined: Wed Jun 16, 2004 12:43 pm
Location: Virginia, USA
Contact:

Post by chucksmith »

Use DataStage Administrator. From the Projects tab, select your project, then press the Command button. Now you can enter the delete command in the Command box and press the Execute button.
denzilsyb
Participant
Posts: 186
Joined: Mon Sep 22, 2003 7:38 am
Location: South Africa
Contact:

Post by denzilsyb »

Hallo appcon

Use Administrator, select your project and select COMMAND.

Then type the command you want and its all done.
dnzl
"what the thinker thinks, the prover proves" - Robert Anton Wilson
Post Reply