IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Query on SAS programming.


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
BAJJI

New User


Joined: 15 Jul 2005
Posts: 47

PostPosted: Wed Mar 08, 2006 9:40 am
Reply with quote

Hi,

I am abit new to SAS programming, I wanted to know what the declarations like $ and @ mean in the following piece of SAS code.

;INFILE IN1
;
; INPUT TSTM TSTD TSTY
; FILE OUT
; NOW = MDY(TSTM,TSTD,TSTY)
;
;INFILE IN2
;
;INPUT N1 1-8 N2 $10 N3 $72
; IF NOW = MDY(06,30,2000)
;PUT N1 MMDDYY4. @5 N1 YEAR4. @10 N2 @72 N3

Thanks in advance,
Kiran.
Back to top
View user's profile Send private message
amsadiq

New User


Joined: 05 Apr 2005
Posts: 1

PostPosted: Mon Mar 20, 2006 12:17 pm
Reply with quote

Hi Bajji,

@ indicates the starting position of the field in the file

$ indicates that it is Standard Character data


Hope you got it.

Bye
Back to top
View user's profile Send private message
rameshbabu
Warnings : 1

New User


Joined: 23 May 2005
Posts: 27

PostPosted: Mon Mar 20, 2006 7:22 pm
Reply with quote

@ symbol using for lindication of the field offset and $ sign for the field is alphanumeric
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts RC query -Time column CA Products 3
No new posts Dynamically pass table name to a sele... DB2 2
No new posts Query on edit primary command CLIST & REXX 5
No new posts Query on edit primary command CLIST & REXX 1
No new posts Issue with EXEC CICS QUERY SECURITY c... CICS 6
Search our Forums:

Back to Top