| Author |
Message |
pmn2cdac
New User
Joined: 23 Dec 2007 Posts: 9 Location: Bangalore
|
|
|
|
Basically i want to interact with spool in batch,,,,
related to this i want to know
1. how to go invoke spool
2. How to do xdc task
3.how to run differnt commands in batch |
|
| Back to top |
|
 |
References
|
Posted: Wed May 14, 2008 10:40 am Post subject: Re: I want to know spool commands and how can i run thru batch |
 |
|
|
 |
dick scherrer
Global Moderator
Joined: 23 Nov 2006 Posts: 6031 Location: 221 B Baker St
|
|
|
|
Hello,
Search in the forum for "sdsf batch". There are multiple topics/examples in the forum.
If you find something that is not clear to you, post what you found here and your question about it.
Instead of XDC, you may need to use PRINT ODSN. |
|
| Back to top |
|
 |
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 1754 Location: Israel
|
|
|
|
I believe you are looking for the SDSF fine manual. You can find all the commands in there, as well as instructions/examples of batch SDSF commands.
O. |
|
| Back to top |
|
 |
pmn2cdac
New User
Joined: 23 Dec 2007 Posts: 9 Location: Bangalore
|
|
|
|
Thanks a lot.....I have got so many commands in that link
//**** JOB (METP0240),
// MSGCLASS=H,CLASS=B,MSGLEVEL=1,PRTY=4,NOTIFY=&SYSUID
// EXEC PGM=SDSF,PARM='++32,1000'
//ISFOUT DD SYSOUT=*
//ISFIN DD *
st
prefix tsubtsa*
select TSUBr2we J0079298
/*
but here ,,,but iam not finding what command i have to use to enter inside the job J0079298..
Thanks,
Praveen |
|
| Back to top |
|
 |
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 1754 Location: Israel
|
|
|
|
Take a look again in the fine manual. The answer is in there.
O. |
|
| Back to top |
|
 |
pmn2cdac
New User
Joined: 23 Dec 2007 Posts: 9 Location: Bangalore
|
|
|
|
Yes ,,,,I got it.
Thanks,
Praveen |
|
| Back to top |
|
 |
pmn2cdac
New User
Joined: 23 Dec 2007 Posts: 9 Location: Bangalore
|
|
|
|
I have one more doubt on this,,,
//ISFIN DD *
ST
FIL JOBID = J0085038
F TSUBTSA2
++?
F 'JESMSGLG'
++S
PRINT OPEN
PRINT FILE REPORT
PRINT CLOSE
END
/*
here I am using only one job id,,,,
but i have n number of job id ,,,,how can i do XDC task in batch?
Thanks,
Praveen |
|
| Back to top |
|
 |
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 1754 Location: Israel
|
|
|
|
Take a look at the FILTER (FIL) command syntax within the same book...
O. |
|
| Back to top |
|
 |
|
|