SAS Data Integration Studio, DataFlux Data Management Studio, SAS/ACCESS, SAS Data Loader for Hadoop and others

Missing token problem in SAS DI

Reply
New Contributor
Posts: 3

Missing token problem in SAS DI


Hi all,

I am validating PAN number ( 5 char 4 digits 1 char).

I used PRXMATCH('/[a-zA-Z]{5}\d{4}[a-zA-Z]/',PAN ).

But whenever I close the job and open again I get this 

PRXMATCH('/[Missing Token]{5}\d{4}[Missing Token]/',PAN ).

Please help me how to resolve this.

Also I tried this. This also not working.

PRXMATCH('/\w{5}\d{4}\w/',PAN).

Super User
Posts: 9,681

Re: Missing token problem in SAS DI

PRXMATCH('/[a-zA-Z]{5,5}\d{4,4}[a-zA-Z]/',PAN ).   ?

New Contributor
Posts: 3

Re: Missing token problem in SAS DI

Hi Thanks for the reply.

The expression

PRXMATCH('/[a-zA-Z]{5}\d{4}[a-zA-Z]/',PAN )

is working fine for me, but When I close the job and open the expression becomes like this.

PRXMATCH('/[Missing Token]{5}\d{4}[Missing Token]/',PAN ).

New Contributor
Posts: 3

Re: Missing token problem in SAS DI

I fixed the problem.

Ask a Question
Discussion stats
  • 3 replies
  • 525 views
  • 0 likes
  • 2 in conversation