Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
I want to know spool commands and how can i run thru batch

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
Author Message
pmn2cdac

New User


Joined: 23 Dec 2007
Posts: 9
Location: Bangalore

PostPosted: Wed May 14, 2008 10:40 am    Post subject: I want to know spool commands and how can i run thru batch
Reply with quote

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
View user's profile Send private message
References
PostPosted: Wed May 14, 2008 10:40 am    Post subject: Re: I want to know spool commands and how can i run thru batch Reply with quote

dick scherrer

Global Moderator


Joined: 23 Nov 2006
Posts: 6031
Location: 221 B Baker St

PostPosted: Wed May 14, 2008 11:00 am    Post subject:
Reply with quote

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
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 1754
Location: Israel

PostPosted: Wed May 14, 2008 11:01 am    Post subject:
Reply with quote

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
View user's profile Send private message
pmn2cdac

New User


Joined: 23 Dec 2007
Posts: 9
Location: Bangalore

PostPosted: Wed May 14, 2008 1:15 pm    Post subject:
Reply with quote

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
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 1754
Location: Israel

PostPosted: Wed May 14, 2008 2:41 pm    Post subject:
Reply with quote

Take a look again in the fine manual. The answer is in there.

O.
Back to top
View user's profile Send private message
pmn2cdac

New User


Joined: 23 Dec 2007
Posts: 9
Location: Bangalore

PostPosted: Thu May 15, 2008 11:31 am    Post subject:
Reply with quote

Yes ,,,,I got it.

Thanks,
Praveen
Back to top
View user's profile Send private message
pmn2cdac

New User


Joined: 23 Dec 2007
Posts: 9
Location: Bangalore

PostPosted: Thu May 15, 2008 11:43 am    Post subject:
Reply with quote

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
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 1754
Location: Israel

PostPosted: Thu May 15, 2008 11:53 am    Post subject:
Reply with quote

Take a look at the FILTER (FIL) command syntax within the same book...

O.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1