Capturing part of job log using routine
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Failure to Compile
The language is DataStage BASIC, not C. Therefore you must use BASIC-style comments, not C-style comments. The "/*" characters are the immediate cause of your failure to compile.
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: 125
- Joined: Mon Sep 11, 2006 4:22 am
- Location: India
Last edited by Roopanwita on Thu Jun 19, 2008 10:21 pm, edited 1 time in total.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
"Not working" is meaningless.
Is it compiling (which is the only thing I addressed)?
What do you want the routine to do, what is it producing (if anything)? What is appearing in the log (or in the Results window in the test grid)?
Is it compiling (which is the only thing I addressed)?
What do you want the routine to do, what is it producing (if anything)? What is appearing in the log (or in the Results window in the test grid)?
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: 125
- Joined: Mon Sep 11, 2006 4:22 am
- Location: India
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 125
- Joined: Mon Sep 11, 2006 4:22 am
- Location: India
It is throwing error ,while compiling - "3 Errors detected, No Object Code Produced."
Last edited by Roopanwita on Thu Jun 19, 2008 10:22 pm, edited 2 times in total.
-
- Participant
- Posts: 125
- Joined: Mon Sep 11, 2006 4:22 am
- Location: India
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
It's DataStage BASIC, not a shell script. Comments do not begin with "#" in DataStage BASIC.
Comments in DataStage BASIC can be specified in three ways:
Comments in DataStage BASIC can be specified in three ways:
- a statement beginning with "*" and containing at least one space
a statement beginning with "!" and containing at least one space
a statement beginning with "REM" and containing at least one space
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: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: