error in routine
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 85
- Joined: Fri Nov 18, 2005 5:35 am
error in routine
Hi,
This is the routine code
Ans=KeyMgtGetNextValue("s1")
THe error is
Compiling: Source = 'DSU_BP/DSU.modify', Object = 'DSU_BP.O/DSU.modify'
Array 'KeyMgtGetNextValue' never dimensioned.
1 Errors detected, No Object Code Produced.
Thanks,
sudhakar
This is the routine code
Ans=KeyMgtGetNextValue("s1")
THe error is
Compiling: Source = 'DSU_BP/DSU.modify', Object = 'DSU_BP.O/DSU.modify'
Array 'KeyMgtGetNextValue' never dimensioned.
1 Errors detected, No Object Code Produced.
Thanks,
sudhakar
i need to know datastage
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 85
- Joined: Fri Nov 18, 2005 5:35 am
-
- Participant
- Posts: 94
- Joined: Wed May 08, 2002 8:44 am
- Location: Germany
- Contact:
Re: error in routine
Specify:
Deffun KeyMgtGetNextValue(A1) Calling "DSX.KeyMgtGetNextValue"
in the first line of your routine.
Klaus
Deffun KeyMgtGetNextValue(A1) Calling "DSX.KeyMgtGetNextValue"
in the first line of your routine.
Klaus
-
- Participant
- Posts: 85
- Joined: Fri Nov 18, 2005 5:35 am
Re: error in routine
Hi Klaus,Klaus Schaefer wrote:Specify:
Deffun KeyMgtGetNextValue(A1) Calling "DSX.KeyMgtGetNextValue"
in the first line of your routine.
Klaus
Thanks.Now it is not showing any error.But i have specified
Deffun KeyMgtGetNextValue(A1) Calling "DSX.KeyMgtGetNextValue"
Ans=KeyMgtGetNextValue("s1")
while testing it is showing <<ERROR>> in result.
it is not giving any value to Ans.
Thanks,
sudhakar
i need to know datastage
Why don't you go to the manager and do a test run run directly in KeyMgtGetNextValue using your test value of "s1". Does that work or show any errors?
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
-
- Participant
- Posts: 85
- Joined: Fri Nov 18, 2005 5:35 am
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 85
- Joined: Fri Nov 18, 2005 5:35 am
Hi Ray,ray.wurlod wrote:Double click on the cell that shows <<ERROR>> in the Test grid and report what is displayed there. ...
It is showing like the following..
TEST #1
*******
Arg1 = 1
Test failed.
Program "DSU.modify": Line 5, Unable to open the operating system file "DSU_BP.O/DSX.KeyMgtGetNextValue".
[ENOENT] No such file or directory
Program "DSU.modify": Line 5, Unable to load file "DSX.KeyMgtGetNextValue".
Program "DSU.modify": Line 5, Unable to load subroutine.
Thanks,
sudhakar
i need to know datastage
Change you declaration line to read
Code: Select all
Deffun KeyMgtGetNextValue(A1) Calling "DSX.KEYMGTGETNEXTVALUE"
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
-
- Participant
- Posts: 85
- Joined: Fri Nov 18, 2005 5:35 am
Hi ArndW,ArndW wrote:Change you declaration line to read...Code: Select all
Deffun KeyMgtGetNextValue(A1) Calling "DSX.KEYMGTGETNEXTVALUE"
Thanks.It is working.I need to rename the file after it is processed like following.
before after
fileaA fileA_1_currentdatetime
fileaA fileA_2_currentdatetime
fileaA fileA_3_currentdatetime
daily i have to run the same file.
Thanks,
sudhakar
i need to know datastage
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Search the (server) forum. This question has been answered five times to my certain knowledge.
Etiquette Notes
1. Start a new thread for a new topic.
2. Search before posting, or pay someone to do it.
3. Post in the correct forum.
Etiquette Notes
1. Start a new thread for a new topic.
2. Search before posting, or pay someone to do it.
3. Post in the correct forum.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.