I was running some dsjob commands (-linkinfo, -stageinfo, etc.) from the /bin directory
when I performed a bad copy/paste into the command line (last good command was a dsjob -report).
I got a whole list of command rejected errors messages.
Now when I try to run a dsjob command all I get is the /bin> prompt and no execution.
I cannot explain this behaviour so any help would be much appreciated...
(and I promise will try to loose some weight from my fingers ) .
Welcome aboard. As a general rule we can not do anything useful with "not working" - it's too vague. We need to see the precise error messages that are generated.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Ray,
Here is the what I am doing:
apux19::/appl/asudtstg/Ascential/DataStage/DSEngine> . ./dsenv
apux19:ASUPMDEV:/appl/asudtstg/Ascential/DataStage/DSEngine> cd bin
apux19:ASUPMDEV:/appl/asudtstg/Ascential/DataStage/DSEngine/bin> dsjob -lprojects
apux19:ASUPMDEV:/appl/asudtstg/Ascential/DataStage/DSEngine/bin>
The result of the dsjob command is this last line, just a prompt, no error messages. And there are 20 projects in the DSEngine/projects directory.
This is on our DEV box. The same sequence of commands on our PROD box gives the list of projects.
Craig,
Everything was working fine. I had run several dsjob commands with different options and they were all working fine. Then I ran a dsjob -report command. After that I was going to select a section of that command with the mouse and right click to paste it in the command line when I actually selected the -report command plus its the whole result and pasted it into the command line and executed it. For each line I pasted I got an invalid command message so I did not think much of it and went on to try again.
From that moment on any variation of the dsjob command is just coming back with the prompt. No messages.
I got everybody out of the server and stopped/restarted it to no avail.
I was thinking about overlaying the DEV dsjob file with the PROD one to test the file corruption theory. But if that got corrupted then the whole bin directory could have been affected...
I'm assuming that, at the very least, dsjob was hosed up by your actions. Simple enough to check. Compare the output of these commands from DEV and PROD:
Craig,
FROM PROD:
apux165::/data51/app/asudtstg/Ascential/DataStage/DSEngine/bin> file dsjob
dsjob: ELF 32-bit MSB executable SPARC Version 1, dynamically linked, not stripped
apux165::/data51/app/asudtstg/Ascential/DataStage/DSEngine/bin> ls -l dsjob
-rwxr-xr-x 1 asudtstg datastage 146876 Feb 20 2007 dsjob
FROM DEV:
apux19:ASUPMDEV:/appl/asudtstg/Ascential/DataStage/DSEngine/bin> file dsjob
dsjob: empty file
apux19:ASUPMDEV:/appl/asudtstg/Ascential/DataStage/DSEngine/bin> ls -l dsjob
-rwxr-xr-x 1 asudtstg datastage 0 Jun 17 12:56 dsjob
I compared the DEV /bin content with the PROD /bin content and the only file that is different in size in dsjob (143KB on PROD side, 0 on DEV). It is also the only file that got updated on 6/17/08.
Do you think I can safely copy the PROD file onto the DEV one?
Craig,
FROM PROD:
apux165::/data51/app/asudtstg/Ascential/DataStage/DSEngine/bin> file dsjob
dsjob: ELF 32-bit MSB executable SPARC Version 1, dynamically linked, not stripped
apux165::/data51/app/asudtstg/Ascential/DataStage/DSEngine/bin> ls -l dsjob
-rwxr-xr-x 1 asudtstg datastage 146876 Feb 20 2007 dsjob
FROM DEV:
apux19:ASUPMDEV:/appl/asudtstg/Ascential/DataStage/DSEngine/bin> file dsjob
dsjob: empty file
apux19:ASUPMDEV:/appl/asudtstg/Ascential/DataStage/DSEngine/bin> ls -l dsjob
-rwxr-xr-x 1 asudtstg datastage 0 Jun 17 12:56 dsjob
I compared the DEV /bin content with the PROD /bin content and the only file that is different in size in dsjob (143KB on PROD side, 0 on DEV). It is also the only file that got updated on 6/17/08.
Do you think I can safely copy the PROD file onto the DEV one?