Codebooks can also contain documentation about when and how the data was created. A good codebook allows you to communicate your research data to others clearly and succinctly, and ensures that the data is understood and interpreted properly.
To get the most out of the Codebooks procedure in SPSS, your dataset should already have variable labels and value labels applied before you run the Codebooks procedure. If you are not familiar with variable properties, such as labels or measurement levels, or concepts like value labeling of category codes in SPSS, you should read the Defining Variables tutorial before continuing.
This codebook method prints most of the information found in the Variable View window. It gives the names, labels, measurement levels, widths, formats, and any assigned missing values labels for every variable in the dataset. It also prints a table with the assigned value labels for categorical variables.
This codebook method includes all of the same information as the simple method, but also includes options for printing summary statistics as well. Unlike the simple method, you can choose which variables are included in the codebook, and you can choose which variable properties are included in the summary. Also unlike the simple method, the summary information for each variable will be printed in its own table.
Note: This procedure was introduced in SPSS version 17 (source: SPSS v23 Command Syntax Reference). If you are using an older version of SPSS, this command is not available - it will not appear in the menus, and running the syntax will return error messages.
To reproduce this example, download the sample SPSS dataset and SPSS syntax file. Run the syntax file on the sample data. This will add all of the appropriate variable labels and value labels for this dataset.
When sharing your data with others, it's important that your variables are properly documented. This includes having succinct but descriptive labels for your variables, and labels for any numeric codes used for categories.
The second table is the Variable Values table. This table will only appear if you have value labels defined for at least one variable in your dataset; otherwise, it is omitted. This table prints the name of each variable with defined value labels, and lists each code and associated label for that variable.
I attempted packing SPSS 23 about a year or so ago. I was successful in capturing a snapshot that worked great on the machine I built it on. But as explained here _User_License_Installation_Instructions.pdf] the licensing bits are tied to hardware so once I deployed to another Mac, it was borked.
Option 1) If you can get your hands on the silent installer, you can create a policy with the required Java version, an SPSS payload (typically a DMG to add the installer.preferences and SPSS_Statistics_installer.bin to a temp folder), and a script to execute the silent installer and point to the installer.properties file to authorize the software and remove the temp directory. An example script is below.
Option 2) Capture the SPSS application using a Composer snapshot and remove any preferences (including the authorization code!). Then create a policy to install the required Java version, install the package, and then execute a script to authorize the software as seen below:
SPSS licensing creates a locking code based on hardware so you cannot (at least I've never been able to capture an install that is licensed and have it work on another computer). If you look at the thread that @mpermann referenced that will give you the commands. Also be aware that you may need legacy java prior to the install =en_US
Thanks everyone. Good points to start from. @dcgagne We have a site volume license but no server-we just enter the license code manually in the Licensing Wizard. I have it packaged using option #2 above (will try and tackle silent install later when I have the time). One question, if we are not using a licensing server, I would think that the command on the final line should read ./licenseactivator THISISYOURAUTHORIZATIONKEY I put that into a script and made a policy/made it avail. in Self Service but no luck. Latest java is installed.
Thanks, everyone. I used Option 2 from @dcgagne and the script noted from @stevevalle and adapted to my environment. I have tested and I am up and running. This saved my team literally hours of time installing and /or serializing SPSS24. JAMFNATION is a great resource. I am looking forward to JNUC2016-see you all there.
I tired of the bugs in SPSS's silent installer, so I repackage it. Within the bin folder of the application bundle, there is a script named licsilent.sh This script gave me the basis for the postinstall script that activates SPSS 24 for me. Here is my postinstall : Note that it uses the Java bundled with SPSS so no system java needs to be installed.
Hey all, I was wondering if anyone could help me with an issue I'm having. I followed the steps I saw in this thread and it was super helpful, so thank you, but I'm getting an error message on certain machines trying to install SPSS 24 from Self Service. I created a policy that installs Java 6, then installs SPSS 24, and then runs the script that stevevalle provided with our auth code. It works perfectly on some machines, but on other machines, Self Service says it failed to install, and when I look in the logs, I see that it successfully installed Java and SPSS, but is failing on the script and throwing the error:
From what I've read I am gathering that it may be caused by someone already having a later version of Java installed, but I am not sure, and don't know how I would get around it if that is the issue. Can anyone provide any guidance? Thanks!
The SPSS 24 interactive installer places a JRE inside the SPSS application folder which can be used for activation if the script is run from the correct location but I haven't been able to capture the results of the interactive installer successfully with Composer. I would prefer using the installed JRE to packaging the software with a version of java as this is for BYOD rather than office based macs. Anyone else had similar experiences?
@stevevalle Do you mind posting your script for your desktops that are pushing to a license server instead of using Auth codes? We currently only use a license server and I can't seem to find the commands to license to it after installation.
There is a file called spssprod.inf in the application itself (right click on the SPSS app and show contents). In the bin folder, open the spssprod.inf file. The file for our deployment looks like this:
Jamf's purpose is to simplify work by helping organizations manage and secure an Apple experience that end users love and organizations trust. Jamf is the only company in the world that provides a complete management and security solution for an Apple-first environment that is enterprise secure, consumer simple and protects personal privacy. Learn about Jamf.
This site contains User Content submitted by Jamf Nation community members. Jamf does not review User Content submitted by members or other third parties before it is posted. All content on Jamf Nation is for informational purposes only. Information and posts may be out of date when you view them. Jamf is not responsible for, nor assumes any liability for any User Content or other third-party content appearing on Jamf Nation.
Syntax allows users to perform tasks that would be too tedious or difficult to do using the drop-down menus. This is the case when you are re-running the same analysis many times, or doing complex transformations on data. Syntax also provides a record of how you transformed and analyzed your data, and allows you to instantly reproduce those steps at any time.
A comment is a line of text in a program that is not read by the computer as a command. Comments do not affect how the program functions; they exist purely for the humans reading and writing the program. Comments help the reader understand what the program is doing. In general, it is good practice to use brief but descriptive comments in your code. Your comments should be clear enough that a reader completely unfamiliar with your work can understand what your program is doing.
In SPSS syntax, placing an asterisk (*) or a forward-slash followed by an asterisk (/*) at the start of a line will turn all text on that line into a comment. Hitting the Enter key will create a new, un-commented line. Typically, comments in SPSS syntax are color-coded with the color gray.
After you've opened a Syntax Editor window, you can start writing your syntax directly in this window. Alternatively, you can generate syntax while using the graphical user interface: almost all SPSS procedures accessed through the dropdown menus can generate syntax by clicking the Paste button instead of clicking OK/Run. After clicking the Paste button, the new syntax will automatically be added to your open Syntax Editor window.
You can save your SPSS syntax as an *.sps file so that you can re-use it later. To save your syntax file, make sure that you have the Syntax Editor window open and active, then click File > Save or File > Save As to save the syntax file.
To find out where SPSS is storing this Journal File, click Edit > Options. Click File Locations and you will see the pathname for the Journal File in the Session Journal area. You can also change the location where this file is stored.
b1e95dc632