LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (March 2012)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 28 Mar 2012 02:29:58 -0700
Reply-To:     GauravSrivastava <srivastgaurav@gmail.com>
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         GauravSrivastava <srivastgaurav@gmail.com>
Subject:      SPSS data file to ASCII card data file
Content-Type: text/plain; charset=us-ascii

Hi ALL,

I am trying to convert the SPSS data into ASCII card data. I am using below code to convert it:

GET FILE ='C:\Users\Gaurav S\Documents\Projects\Data Check\5687 - J&J Mega Tracker\Adult\HONGKONG\Data\p752065020_gsrivastava_20562058.sav'. WRITE OUTFILE = 'C:\Users\Gaurav S\Documents\Projects\Data Check\5687 - J&J Mega Tracker\Adult\HONGKONG\Data\DataCrd.dat' RECORDS=10 /1 RespID 1-6 (N) '01' 7-8 R1 9 R2 10-11 (N) Respondent_ID 12-62 (A) /2 RespID 1-6 (N) '02' 7-8 Q1 9 Q21 10 Q22 11 Q23 12 Q24 13 /3 RespID 1-6 (N) '03' 7-8 Data2 9-13 (comma,2) /4 RespID 1-6 (N) '04' 7-8 R1_01 11-12(N) R1_02 13-14(N) R1_03 15-16(N) R1_04 17-18(N) R1_05 19-20(N)R1_06 21-22(N)R1_07 23-24(N)R1_08 25-26(N)R1_09 27-28(N)R1_10 29-30(N)R1_99 31-32(N). Execute.

It's working fine but it giving me a fixed width card ASCII data. I need the floating data file.

Please help. I need it urgently.

Regards, Gaurav

-- View this message in context: http://spssx-discussion.1045642.n5.nabble.com/SPSS-data-file-to-ASCII-card-data-file-tp5599936p5599936.html Sent from the SPSSX Discussion mailing list archive at Nabble.com.

===================== To manage your subscription to SPSSX-L, send a message to LISTSERV@LISTSERV.UGA.EDU (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD

This email is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged and confidential. If the reader of this email message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is prohibited. If you have received this email in error, please notify the sender and destroy/delete all copies of the transmittal. Thank you.

This email is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged and confidential. If the reader of this email message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is prohibited. If you have received this email in error, please notify the sender and destroy/delete all copies of the transmittal. Thank you.

===================== To manage your subscription to SPSSX-L, send a message to LISTSERV@LISTSERV.UGA.EDU (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD


Back to: Top of message | Previous page | Main SPSSX-L page