| View previous topic :: View next topic |
| Author |
Message |
tcurrier Intermediate
Joined: 10 Feb 2006 Posts: 188 Topics: 68
|
Posted: Wed Nov 28, 2007 4:17 pm Post subject: capture job id of job just submitted ? |
|
|
Please excuse me if this isn't the right forum for this question, but I'll take a chance and pose the following :
A co-worker asked me today if there is a way that he can programmatically capture the Job Id of a job just submitted.
I didn't ask him if he was submitting it via the internal reader or through REXX, but I would assume that that would be the logical 'tie in'.
If anyone has any information or ideas on this, I would appreciate it...
Thanks. |
|
| Back to top |
|
 |
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
|
| Back to top |
|
 |
tcurrier Intermediate
Joined: 10 Feb 2006 Posts: 188 Topics: 68
|
Posted: Wed Nov 28, 2007 6:08 pm Post subject: |
|
|
Well, I ended up suggesting to him to use REXX..
Here is what I came up with :
[code:1:8ed5580083]//STEP1 EXEC PGM=FILEAID
//SYSPRINT DD SYSOUT=*
//SYSLIST DD SYSOUT=*
//SYSTOTAL DD SYSOUT=*
//DD01 DD DATA,DLM=' |
|
| Back to top |
|
 |
Sreejith Intermediate
Joined: 02 Dec 2002 Posts: 155 Topics: 25 Location: N.Ireland
|
|
| Back to top |
|
 |
Bill Dennis Advanced

Joined: 03 Dec 2002 Posts: 579 Topics: 1 Location: Iowa, USA
|
Posted: Thu Nov 29, 2007 8:47 am Post subject: |
|
|
sreejith,
The example you refer to is for a program to find out it's OWN info, not the info on a second job just submitted by the first job. _________________ Regards,
Bill Dennis
Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity. |
|
| Back to top |
|
 |
Sreejith Intermediate
Joined: 02 Dec 2002 Posts: 155 Topics: 25 Location: N.Ireland
|
Posted: Thu Nov 29, 2007 9:07 am Post subject: |
|
|
Bill,
You are right. I didn't read the post well.
Thanks
Sreejith |
|
| Back to top |
|
 |
|
|
|