How to pass the value in Hexadecimal in SORTD?

JES2/3, JCL, utilities.
Post Reply
Technocrat
Registered Member
Posts: 31
Joined: Thu Oct 03, 2013 1:32 pm

How to pass the value in Hexadecimal in SORTD?

Post by Technocrat »

Hi,

Please…In the JCL, how do I pass the value in Hexadecimal in SORTD?example:
//SORTIN DD *
12345
Regards
User avatar
zum13
Registered Member
Posts: 85
Joined: Thu May 04, 2023 12:58 am

Re: How to pass the value in Hexadecimal in SORTD?

Post by zum13 »

Hello.

The format is X'....', for example:

Code: Select all

INCLUDE COND=(15,3,CH,EQ,X'123456')
Manoj
Registered Member
Posts: 33
Joined: Wed Jul 17, 2013 9:10 am

Re: How to pass the value in Hexadecimal in SORTD?

Post by Manoj »

Try

Code: Select all

//SORTIN DD *
X'F1F2F3F4F5'
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “JCL - Job Control Language.”