How to read &PH& on UNIX
Moderators: chulett, rschirm, roy
How to read &PH& on UNIX
Hi, I have an error, but the log doesn't point out what the error is. Actually I don't get a fatal message at all, the job simply aborts. The job is a sequence job. I'm wondering if the phantom dir will provide more info. I can get drill down to the PH directory, but don't know what to do or how to access once I'm there.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
If you reset the job (not recompile, reset), any diagnostic information in &PH& should be transferred to the job log, in an event called "From previous run...".
Otherwise, &PH& is a directory within the project on the server. The file will have a name made up of the program name (DSD.RUN or DSD.StageRun for server jobs) followed by the pid, date and time in DataStage internal format.
Files that are only two lines long don't contain any useful information (the events are "started" and "finished" - while that's reassuring to know, it's not that helpful in diagnosis). So look for larger files.
Otherwise, &PH& is a directory within the project on the server. The file will have a name made up of the program name (DSD.RUN or DSD.StageRun for server jobs) followed by the pid, date and time in DataStage internal format.
Files that are only two lines long don't contain any useful information (the events are "started" and "finished" - while that's reassuring to know, it's not that helpful in diagnosis). So look for larger files.
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.
-
- Participant
- Posts: 82
- Joined: Thu Dec 02, 2004 10:27 pm
- Location: INDIA
-
- Premium Member
- Posts: 730
- Joined: Tue Nov 04, 2008 10:14 am
- Location: Bangalore
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Yes, parallel jobs too.
DSD.RUN is a generic "job starting" routine that also appears for parallel jobs.
Beware that ampersand is a special character for the shell. You need to escape or hard quote. For example:
DSD.RUN is a generic "job starting" routine that also appears for parallel jobs.
Beware that ampersand is a special character for the shell. You need to escape or hard quote. For example:
Code: Select all
cd MyProject
ls -alrt '&PH&
Code: Select all
cd MyProject
ls -alrt \&PH\
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.