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 ",
>                  "message" : " 'class F skipped'"
>                },
>                { "action" : " Leave "
>                }
>             ]
>       },
>
>Hope this helps
>
>Mike
>
>
>On Fri, 15 Jan 2021 at 05:45, Roger Lowe <roger_l...@bigpond.com> wrote:
>
>> 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.
>>           " JobClass = A"
>>           .............*.
>>
>> Have checked the JSON syntax and it all looks fine.
>>
>> Not sure why the dots '...........' are appearing as part of the error
>> message.
>>
>> Anyone else get a JES2 Policy using the JobClass condition working under a
>> zOS 2.4 environment?
>>
>> Thanks, Roger
>>
>> ----------------------------------------------------------------------
>> For IBM-MAIN subscribe / signoff / archive access instructions,
>> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>>
>
>
>--
>Mike Shorkend
>m...@shorkend.com
>Tel: +972524208743
>
><https://www.linkedin.com/in/MikeShorkend/>
>
><https://twitter.com/mikeShorkend>
>
>----------------------------------------------------------------------
>For IBM-MAIN subscribe / signoff / archive access instructions,
>send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to