Allan Bowe
Allan Bowe

Reputation: 12691

What is the maximum size of SYSJOBID?

I'm capturing the automatic sysjobid macro variable in a table, and so it would help to know the range of possible types (Character/Numeric) and values (which are operating system dependent).

EDIT: whilst theoretically any value could be passed, what is most useful is to know what is the maximum in 99% of cases.

What is the largest value that any of you have witnessed in your deployments?

Upvotes: 0

Views: 154

Answers (1)

user667489
user667489

Reputation: 9569

Let's see:

  • Linux: 32768 for 32-bit systems, or 4194304 for 64-bit systems (source)
  • Windows: up to DWORD_MAX (source), which I think in this context is 4294967295 (source)

Can anyone fill in the blanks for some of the other operating systems supported by SAS? There are many...

Upvotes: 1

Related Questions