z/OS specifics: | All |
proc bmdp prog=bmdp3s code=judges;
proc bmdp prog=bmdp3s;
1data temp; input x y z; datalines; 1 2 3 4 5 6 7 8 9 10 11 12 run; 2proc contents; title 'CONTENTS OF SAS DATA SET TO BE RUN THROUGH BMDP1D'; run; 3proc bmdp prog=bmdp1d unit=3; parmcards; /input unit=3. code='TEMP'. /print min. /save unit=4. code='NEW'. NEW. /end /finish run; 4libname ft04f001 bmdp; 5data _null_; set ft04f001.new; put _all_; run; 6proc contents data=ft04f001._all_; run; 7proc convert bmdp=ft04f001 out=xyz;
1 | This DATA step creates a SAS data set called TEMP. |
2 | The CONTENTS procedure shows the descriptive information for the data set TEMP. |
3 | PROC BMDP calls the BMDP program BMDP1D to analyze the data set TEMP. Note that the BMDP program statements UNIT=3. and CODE='TEMP'. The results are stored in the BMDP save file NEW. The word NEW must be in the SAVE paragraph. UNIT=nn should refer to the FTnnF001 fileref that was defined in your DD statement. |
4 | The LIBNAME statement associates the libref FT04F001 with the BMDP engine so that SAS knows which engine to use to access the data. |
5 | The DATA step reads the BMDP save file NEW, which was created in the previous PROC BMDP step. It uses the two-level name FT04F001.NEW to reference the file. |
6 | The CONTENTS procedure prints the information about all members that reside in the FT04F001 file. The _ALL_ member name is a special member name for the BMDP engine; it causes PROC CONTENTS to process all BMDP members in the file. |
7 | The CONVERT procedure converts the BMDP save file NEW to a SAS data set named XYZ. The NEW save file is on UNIT 4, that is, FT04F001. |
1 CONTENTS OF SAS DATA SET TO BE RUN THROUGH BMDP1D The CONTENTS Procedure ... -----Alphabetic List of Variables and Attributes----- # Variable Type Len Pos ----------------------------------- 1 X Num 8 0 2 Y Num 8 8 3 Z Num 8 16 ... PAGE 1 1D BMDP1D - SIMPLE DATA DESCRIPTION COPYRIGHT 1977, 1979, 1981, 1982, 1983, 1985, 1987, 1988, 1990 BY BMDP STATISTICAL SOFTWARE, INC. BMDP STATISTICAL SOFTWARE, INC.| BMDP STATISTICAL SOFTWARE 1440 SEPULVEDA BLVD | CORK TECHNOLOGY PARK, MODEL FARM RD LOS ANGELES, CA 90025 USA | CORK, IRELAND PHONE (213) 479-7799 | PHONE +353 21 542722 FAX (213) 312-0161 | FAX +353 21 542822 TELEX 4972934 BMDP UI | TELEX 75659 SSWL EI VERSION: 1990 (IBM/OS) DATE: APRIL 27, 2005 AT 14:27:43 MANUAL: BMDP MANUAL VOL. 1 AND VOL. 2. DIGEST: BMDP USER'S DIGEST. UPDATES: STATE NEWS. IN THE PRINT PARAGRAPH FOR SUMMARY OF NEW FEATURES. PROGRAM INSTRUCTIONS /INPUT UNIT=3. CODE='TEMP'. /PRINT MIN. /SAVE UNIT=4. CODE='NEW'. NEW. /END PROBLEM TITLE IS APRIL 27, 2005 14:27:43 NUMBER OF VARIABLES TO READ . . . . . . . . . . 3 NUMBER OF VARIABLES ADDED BY TRANSFORMATIONS. . 0 TOTAL NUMBER OF VARIABLES . . . . . . . . . . . 3 CASE FREQUENCY VARIABLE . . . . . . . . . . . . CASE WEIGHT VARIABLE. . . . . . . . . . . . . . CASE LABELING VARIABLES . . . . . . . . . . . . NUMBER OF CASES TO READ . . . . . . . . . . . . TO END MISSING VALUES CHECKED BEFORE OR AFTER TRANS. . NEITHER BLANKS IN THE DATA ARE TREATED AS . . . . . . MISSING INPUT UNIT NUMBER . . . . . . . . . . . . . . . 3 REWIND INPUT UNIT PRIOR TO READING. . DATA. . . YES NUMBER OF INTEGER WORDS OF MEMORY FOR STORAGE . 689662 INPUT BMDP FILE CODE. . . IS TEMP CONTENT . IS DATA LABEL . . IS VARIABLES 1 X 2 Y 3 Z VARIABLES TO BE USED 1 X 2 Y 3 Z PRINT CASES CONTAINING VALUES LESS THAN THE STATED MINIMA. ------------------------------------------ BMDP FILE IS BEING WRITTEN ON UNIT 4 CODE. . . IS NEW CONTENT . IS DATA LABEL . . IS APRIL 27, 2005 14:27:43
PAGE 2 1D APRIL 27, 2005 14:27:43 VARIABLES ARE 1 X 2 Y 3 Z BMDP FILE ON UNIT 4 HAS BEEN COMPLETED. ------------------------------------------ NUMBER OF CASES WRITTEN TO FILE 4 NUMBER OF CASES READ. . . . . . . . . . . . . . 4 VARIABLE TOTAL STANDARD ST.ERR COEFF. OF SMALLEST NO. NAME FREQUENCY MEAN DEVIATION OF MEAN VARIATION VALUE LARGEST Z-SCORE VALUE Z-SCORE RANGE 1 X 4 5.5000 3.8730 1.9365 .70418 1.0000 -1.16 10.000 1.16 9.0000 2 Y 4 6.5000 3.8730 1.9365 .59584 2.0000 -1.16 11.000 1.16 9.0000 3 Z 4 7.5000 3.8730 1.9365 .51640 3.0000 -1.16 12.000 1.16 9.0000 NUMBER OF INTEGER WORDS USED IN PRECEDING PROBLEM 530 CPU TIME USED 0.030 SECONDS
PAGE 3 1D BMDP1D - SIMPLE DATA DESCRIPTION COPYRIGHT 1977, 1979, 1981, 1982, 1983, 1985, 1987, 1988, 1990 BY BMDP STATISTICAL SOFTWARE, INC. BMDP STATISTICAL SOFTWARE, INC.| BMDP STATISTICAL SOFTWARE 1440 SEPULVEDA BLVD | CORK TECHNOLOGY PARK, MODEL FARM RD LOS ANGELES, CA 90025 USA | CORK, IRELAND PHONE (213) 479-7799 | PHONE +353 21 542722 FAX (213) 312-0161 | FAX +353 21 542822 TELEX 4972934 BMDP UI | TELEX 75659 SSWL EI VERSION: 1990 (IBM/OS) DATE: APRIL 27, 2005 AT 14:27:44 PROGRAM INSTRUCTIONS /FINISH NO MORE CONTROL LANGUAGE. PROGRAM TERMINATED CONTENTS OF SAS DATA SET TO BE RUN THROUGH BDMP1D The CONTENTS Procedure Data Set Name: FT04F001.NEW Observations: . Member Type: DATA Variables: 4 Engine: BMDP Indexes: 0 Created: 14:27 Monday, April 27, 2005 Observation Length: 16 Last Modified: 14:27 Monday, April 27, 2005 Deleted Observations: 0 Protection: Compressed: NO Data Set Type: Sorted: NO Label: -----Alphabetic List of Variables and Attributes----- # Variable Type Len Pos ----------------------------------- 4 USE Num 4 12 1 X Num 4 0 2 Y Num 4 4 3 Z Num 4 8 -----Directory----- Libref: FT04F001 Engine: BDMP Physical Name: SYS99117.T145548.RA000.BDMP90V9.R0120689 # Name Memtype ---------------- 1 NEW DATA