help with INTCK function

Accepted Solution Solved
Reply
Contributor
Posts: 23
Accepted Solution

help with INTCK function

Hello,

I am trying to use the INTCK function to count the number of quarters from a specific date to a SAS variable (end date).

My code is:

     nquarters=INTCK('qrt', '01OCT2007'd, disday_ndate, 'D');

disday_ndate is a numeric SAS date with format date9.

I'm getting an error that "invalid argument to function INTCK at line X column Y'...

and all values of nquarters are .

Any ideas?

Thank you!

Kelly


Accepted Solutions
Solution
‎05-15-2014 12:11 PM
Occasional Contributor
Posts: 10

Re: help with INTCK function

Posted in reply to kstolzmann

Hi,

I think qrt should be qtr.

Cheers

Tim

View solution in original post


All Replies
Solution
‎05-15-2014 12:11 PM
Occasional Contributor
Posts: 10

Re: help with INTCK function

Posted in reply to kstolzmann

Hi,

I think qrt should be qtr.

Cheers

Tim

Contributor
Posts: 23

Re: help with INTCK function

Oh gosh, duh!  Thank you!

Kelly

🔒 This topic is solved and locked.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 293 views
  • 1 like
  • 2 in conversation