Job Number
Moderators: chulett, rschirm, roy
I didnt know the answer before. So I just did what you told me to do. Everything happened as you said.chulett wrote:So... your question was some kind of a quiz? What the frak was the point of that?ag_ram wrote:Correct chulett.
If you knew the answer, just post it as a clarification. If you didn't, say "Thanks" and move on.
Anyway belated 'Thanks' to you.
I just realized that this thread is in the Server forum and the solution with the job number that I posted was for Parallel jobs; so you are quite correct that it was the wrong answer.
You can get the job number by going into TCL or using the Admin command line and issuing a "LIST" or "SELECT" statement as posted earlier in this thread.
One question that wasn't asked is why you need the Job Number?
You can get the job number by going into TCL or using the Admin command line and issuing a "LIST" or "SELECT" statement as posted earlier in this thread.
One question that wasn't asked is why you need the Job Number?
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
I've changed the post to be non-premium.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
As said by ArndW, you can come to know the Job no by LIST command as well,
Please correct the SQL, ArndW.
Code: Select all
LIST JOBNO DS_JOBS WITH NAME='<jobname>'
Please correct the SQL, ArndW.
The LIST command is incorrect, ag_ram
Code: Select all
LIST DS_JOBS ID.SUP JOBNO WITH NAME EQ '{YourJobName}'
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
But i executed that SQL before posting, it results the job no which we want.ArndW wrote:The LIST command is incorrect, ag_ram
Code: Select all
LIST DS_JOBS ID.SUP JOBNO WITH NAME EQ '{YourJobName}'
I wonder what was incorrect there.
[Incorrect is that the solution does not give the expected result.]
You could use the phrase as 'that LIST command could be refined as this' because suppressing the display of the record IDs is user's wish.
ag_ram, your list command is incorrect. The syntax of the list command is
note, the first mandatory parameter is the filename. It just so happens that the inform engine is smart enough to parse the line looking for a filename from left to right, but if JOBNO were a filename you would get an incorrect result. I explicitly did not state that it should be refined because it is not correct.
Code: Select all
| SYNTAX |
| |
| LIST [DICT | USING [DICT] dictname] filename [records |
| | FROM n] [selection] [output.limiter] [sort] [output] |
| [report.qualifiers]
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
hi arndw,ArndW wrote:ag_ram, your list command is incorrect. The syntax of the list command isnote, the first mandatory parameter is the filename. It just so happens that the inform engine is smart enough to parse the line looking for a filename from left to right, but if JOBNO were a filename you would get an incorrect result. I explicitly did not state that it should be refined because it is not correct.Code: Select all
| SYNTAX | | | | LIST [DICT | USING [DICT] dictname] filename [records | | | FROM n] [selection] [output.limiter] [sort] [output] | | [report.qualifiers]
could you pls. explain with an example?
i've also got the job number by using ag_ram's code.
Thanks
veera...
hi arndw,ArndW wrote:ag_ram, your list command is incorrect. The syntax of the list command isnote, the first mandatory parameter is the filename. It just so happens that the inform engine is smart enough to parse the line looking for a filename from left to right, but if JOBNO were a filename you would get an incorrect result. I explicitly did not state that it should be refined because it is not correct.Code: Select all
| SYNTAX | | | | LIST [DICT | USING [DICT] dictname] filename [records | | | FROM n] [selection] [output.limiter] [sort] [output] | | [report.qualifiers]
could you pls. explain with an example?
i've also got the job number by using ag_ram's code.
Thanks
veera...