|Date: ||Mon, 22 Dec 1997 12:10:36 GMT|
|Reply-To: ||John Hendrickx <J.Hendrickx@MAW.KUN.NL>|
|Sender: ||"SPSSX(r) Discussion" <SPSSX-L@UGA.CC.UGA.EDU>|
|From: ||John Hendrickx <J.Hendrickx@MAW.KUN.NL>|
|Organization: ||University of Nijmegen|
|Subject: ||Re: Conversion to Windows - Period.the [01/01]|
I've attached a REXX macro that will terminate SPSS files (add a period at
the end of each command). It works under CMS XEDIT and under THE, a freeware
XEDIT/KEDIT clone. It should work under KEDIT as well, but I haven't tried it.
THE is available for UNIX and DOS and will run in 32 bit mode under WIN95.
It's a very powerful editor, I'd recommend it. See
http://www.lightlink.com/hessling/ for further information.
As long as the syntax files are properly terminated and the input/output
statements have been appropriately modified, they should run fine under SPSS
In article <email@example.com>, lenkerWEEDS@dircon.co.uk
>James Carvalho wrote:
>>Under SPSS UNIX, you will need to convert your data files from the
>>native SPSS format to an SPSS portable format. Then transfer them
>>in ASCII mode to your Windows machine. The portable files can now be
>>opened by SPSS for Windows. Hope this helps.
>I have a similar problem. I have some SPSS files in the following
>As far as I understand it, I am meant to take the SPSS Syntax file
>(F_Name.sps) and run it in SPSS to read the data. I have one single
>indicator that the syntax file was written for Unix as the path to the
>the .dat file is a Unix path. Now, the problem is that I do not have
>access to SPSS on Unix. I tried running the Syntax File in Windows
>SPSS (after changing the file paths to Windows) but this gave me a
>huge number of syntax errors. Is there a utility that will change the
>syntax file to Windows format? Do you know of any other possibility to
>read the data? Any help would be greatly appreciated.
>>-------------------- Original message -----------------------------
>>Date: Wed, 17 Dec 1997 14:30:54 EST
>>From: Tom Madden <MADDENT@DARLA.BADM.SC.EDU>
>>Subject: Conversion to windows
>>Is it possible to run spss files created for UNIX in windows?
>>I would appreciate any advice on converting the files
/* "PERIOD.THE"/"PERIOD XEDIT A" */
/* terminate lines in an SPSS program with an period */
/* By John Hendrickx <J.Hendrickx@maw.kun.nl> */
/* Department of Sociology, Nijmegen University, The Netherlands */
/* For use in XEDIT under VM/CMS */
/* or in THE under (protected mode) DOS, Windows, OS/2 */
/* and Unix systems that support REXX macros */
/* See <http://www.lightlink.com/hessling/> for info on THE */
"SET AUTOSAVE OFF"
"SET LINEND OFF"
do i=1 to size.1
if substr(curline.3,1,1)^=' ' | pending=1 then do
if content=0 | frstchar^=' ' | nonblnk='/*' then do
else "DOWN 1"
if comment<=1 then point=length.1
then "REPLACE" insert('.',curline.3,point)