Re: Using JobClass condition in JES2 Policy

2021-01-17 Thread Roger Lowe
Thanks Mike - that did the trick . Roger >I have that working. Below is a snippet from my json code Looks like you >are missing single quotes around the A. > > > { "condition" : " JobClass = 'F' ", > "actions" : > [ >{ "action" : " SendMessage ", >

Re: Using JobClass condition in JES2 Policy

2021-01-16 Thread Mike Shorkend
I have that working. Below is a snippet from my json code Looks like you are missing single quotes around the A. { "condition" : " JobClass = 'F' ", "actions" : [ { "action" : " SendMessage ", "message" : " 'class F skipped'"

Using JobClass condition in JES2 Policy

2021-01-14 Thread Roger Lowe
Hi, Am trying to get a JES2 Policy using the "JobClass" condition and I try and do the $POLICY IMPORT command it is failing with - $HASP1640 Error in condition expression in definition entry 1. $HASP1605 Syntax error 3 in expression near position 13. Name was not found.