IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

SARBCH PRINTJOB option not Works with special character in t


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Gepinheim

New User


Joined: 02 Sep 2019
Posts: 3
Location: Brasil

PostPosted: Mon Sep 02, 2019 9:26 pm
Reply with quote

I have a job run on August 27th with this name: xxx2w@da.
I'm using this command on sarbch
/DBASE NAME=...
/PRINTJOB JOBNAME=XXX2W@DA JOBDATE=07/27/2019

I get this error:
SARBCH11 invalid parameter data for keyword JOBNAME


JOBNAME=XXX301DA, WORKS....
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8569
Location: Dubuque, Iowa, USA

PostPosted: Mon Sep 02, 2019 9:40 pm
Reply with quote

Since this is a product from an independent software vendor (ISV), your best source for support will be the vendor. If your site pays for maintenance, then you have the right to get support from the vendor.

Note that you stated the run date was August 27th yet your parameter references July 27th (07/27).
Back to top
View user's profile Send private message
Gepinheim

New User


Joined: 02 Sep 2019
Posts: 3
Location: Brasil

PostPosted: Mon Sep 02, 2019 10:26 pm
Reply with quote

Thanks TANSTAAFL
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1689
Location: Tiruppur, India

PostPosted: Tue Sep 03, 2019 11:16 pm
Reply with quote

Hello,

Are you aware of what version of SAR are you running. We have an older version of SAR and /PRINTJOB is not supported.

You could try it out with /PRINT command and see if it works for you. /PRINT worked for me to retrieve job XXX2W@DA.
You would need to find the GEN and SEQ numbers from SAR "Sysout Selection List" panel

Code:
/DBASE NAME=XXXX.SAR                                   
/PRINT ID=XXX2W@DA  GEN=nnnn SEQ=n
Back to top
View user's profile Send private message
Gepinheim

New User


Joined: 02 Sep 2019
Posts: 3
Location: Brasil

PostPosted: Wed Sep 04, 2019 12:18 am
Reply with quote

Thanks V.

but i need to retrieve the jobs by date...
SAR seems to have an error handling the Jobname parameter!
does not recognize the "@" symbol as valid...
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts RMNAME option in HDAM IMS DB/DC 4
This topic is locked: you cannot edit posts or make replies. Write Character to Hexadecimal file w... COBOL Programming 8
No new posts Converting Hex to PD Special Condition SYNCSORT 3
No new posts SARBCH REPORT DD writing error CA Products 1
No new posts Compare two character variables Head ... CLIST & REXX 3
Search our Forums:

Back to Top