MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SARBCH parameters
Goto page Previous  1, 2
 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12357
Topics: 75
Location: San Jose

PostPosted: Wed Nov 23, 2016 12:28 am    Post subject: Reply with quote

srihemz wrote:
Hi Kolusu,

I tried using keyword JOBDATE and executed my job. Job failed with the below error.

Code:
 /PRINT ID=DP13W1A JOBDATE=22/11/2016 
 SARBCH10  Invalid keyword name "JOBDATE"


For JOBNAME & JOBTIME also, I'm getting error "Invalid keyword"

Is there any problem with the syntax I coded?

Rather than using GEN, is there any way we can get the job log using date as input in control card?


Thanks,
Hema


Srihemz,

Pay close attention to the parameter right after PRINT and you will notice that my example uses Jobname whereas you are usin ID which if I remember is for the sysout/report printing.

The jobdate and jobtime are valid for printing the job and not report id
_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
srihemz
Beginner


Joined: 22 Nov 2016
Posts: 6
Topics: 1
Location: Chennai

PostPosted: Wed Nov 23, 2016 2:28 am    Post subject: Reply with quote

Hi Kolusu,

Thanks for the response.
I tried with the Jobname as well and got the same error (i.e) invalid keyword name.

Quote:
/PRINT JOBNAME=DP13W1A JOBDATE=22/11/2016
SARBCH10 Invalid keyword name "JOBNAME"
SARBCH10 Invalid keyword name "JOBDATE"
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12357
Topics: 75
Location: San Jose

PostPosted: Wed Nov 23, 2016 10:32 am    Post subject: Reply with quote

srihemz,

Try using PRINTJOB
Code:

/PRINTJOB JOBNAME=DP13W1A JOBDATE=22/11/2016


Here is the documentation of it.

SARBCH Control Statements (PRINT - PRINTIDX)
_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group