### Run INSTALL command Source: https://www.ibm.com/docs/en/zvm/7.5.0?topic=nstim-step-3-run-install-install-your-new-system Execute the INSTALL command to start the installation. The installation procedure will IPL the z/VM system multiple times; do not disconnect the installation user ID. ```plaintext **install** IUGIIS8490I Now formatting|labeling volume: dasdaddr (1 of n) ⋮ IUGIIS8490I Now formatting|labeling volume: dasdaddr (n of n) ⋮ IUGIIS8380I Restoring IIS to lblcom, lblrll, lblres, and lblspl IUGIIS8341I Load of the system IIS to COMMON volume has completed successfully ⋮ IUGIIS8490I Now allocating volume: dasdaddr (COMMON VOLUME) ⋮ IUGIDV8341I Creation of the USER DIRECT has completed successfully IUGILB8440I Now loading userid cuu (alias) disk 1 of nnn IUGILB8440I Now loading userid cuu (alias) disk 2 of nnn IUGILB8440I Now loading userid cuu (alias) disk 3 of nnn ⋮ IUGILB8440I Now loading userid cuu (alias) disk nnn of nnn ``` -------------------------------- ### SET SRM DSPBUF command example Source: https://www.ibm.com/docs/en/zvm/7.5.0?topic=resources-using-set-srm-dspbufan-example Trial command setting for a hypothetical installation with 206 resources, adding 50 percent to get 309, and allocating fractions to transaction classes. ```plaintext SET SRM DSPBUF 309 278 247. ``` -------------------------------- ### GETSHOPZ startup output Source: https://www.ibm.com/docs/en/zvm/7.5.0?topic=packages-setting-up-configuring-using-getshopz Example output from starting GETSHOPZ, showing the version and the web interface URL. ```plaintext GETSHOPZ v2.3 - 2026-03 Web Interface: http://yourco.com:37757/ ``` -------------------------------- ### List replaceable products with VMFINS INSTALL INFO Source: https://www.ibm.com/docs/en/zvm/7.5.0?topic=system-replacing-single-product Use this command to get a list of products that can be replaced. The INFO operand creates a list of products on the installation tape and on the system. ```text vmfins install info (replace ``` -------------------------------- ### Run SDINST under CMS Source: https://www.ibm.com/docs/en/zvm/7.5.0?topic=utility-examples-generating-stand-alone-dump Starts the stand-alone dump installer. The system replies with the installer banner and prompts for the IPL DASD virtual device address. ```plaintext **SDINST** ``` ```plaintext HCPSDI8682I STAND-ALONE DUMP INSTALLER ENTER 'QUIT' AT ANY PROMPT TO TERMINATE EXECUTION. HCPSDI8654A PLEASE ENTER THE VIRTUAL DEVICE ADDRESS OF THE IPL DASD ``` -------------------------------- ### GET command example with line numbers Source: https://www.ibm.com/docs/en/zvm/7.5.0?topic=three-set-number-command Example of using the GET command to insert lines 4 through 8 from the radio waves file into the camping file. The command inserts 5 lines starting at line 4. ```plaintext ====> get radio waves 4 5 ``` -------------------------------- ### Example: After entering OPENVM QUERY DIRECTORY Source: https://www.ibm.com/docs/en/zvm/7.5.0?topic=commands-openvm-query-directory Shows a sample response after entering the OPENVM QUERY DIRECTORY command. ```text Directory = '/childrens/animal facts/ ' ``` -------------------------------- ### Example: measuring elapsed time with clock() Source: https://www.ibm.com/docs/en/zvm/7.5.0?topic=descriptions-clock-determine-processor-time This example prints the time elapsed since the program was invoked. It calls clock() at the start and again later, dividing by CLOCKS_PER_SEC to get seconds. ```c /* This example prints the time elapsed since the program was invoked. */ #include #include double time1, timedif; /* use doubles to show small values */ int main(void) { time1 = (double) clock(); /* get initial time */ time1 = time1 / CLOCKS_PER_SEC; /* in seconds */ ⋮ /* call clock a second time */ timedif = ( ((double) clock()) / CLOCKS_PER_SEC) - time1; printf("The elapsed time is %f seconds\n", timedif); } ``` -------------------------------- ### Run GETSHOPZ with options Source: https://www.ibm.com/docs/en/zvm/7.5.0?topic=packages-setting-up-configuring-using-getshopz Example of specifying options in any order, here using DISK and SECURE. ```plaintext **getshopz run ( disk t secure** ``` -------------------------------- ### Example input arguments Source: https://www.ibm.com/docs/en/zvm/7.5.0?topic=descriptions-qsort-sort-array Sample command-line arguments passed to the example program to demonstrate sorting. ```text Does, this, really, sort, the, arguments, correctly? ``` -------------------------------- ### GETSID example: start I/O to device TAP1 Source: https://www.ibm.com/docs/en/zvm/7.5.0?topic=instructions-getsid Shows the GETSID macro invoked with DEVNAME='TAP1' to get the SID of TAP1 in register 1, followed by an SSCH instruction to start I/O using the CCWs at location CCWS. This sequence is used before issuing the first I/O instruction. ```assembler GETSID DEVNAME='TAP1' * Get SID of TAP1 in R1 SSCH CCWS * Start I/O using the CCWs at loc CCWS. ``` -------------------------------- ### VMFINS INSTALL PPF with NOPLAN and NOMEMO - Install product Source: https://www.ibm.com/docs/en/zvm/7.5.0?topic=system-adding-single-product Use this command to install the product using the PPF operand and installation parameters from PLAN processing. The ADD option puts a new copy on the system, NOPLAN installs the product, and NOMEMO skips the memo print prompt. ```plaintext vmfins install ppf ppfname compname (add noplan nomemo ``` -------------------------------- ### GET command example Source: https://www.ibm.com/docs/en/zvm/7.5.0?topic=files-what-is-file Example of the GET command using the file identifier 'rare animals a'. ```plaintext get rare animals a ``` -------------------------------- ### gets() example: CBC3BG18 Source: https://www.ibm.com/docs/en/zvm/7.5.0?topic=descriptions-gets-read-string Complete example program that reads a line from stdin using gets(), prints it, and handles errors with ferror(). ```c /* CBC3BG18 This example gets a line of input from stdin. */ #include #define MAX_LINE 100 int main(void) { char line[MAX_LINE]; char *result; printf("Enter string:\n"); if ((result = gets(line)) != NULL) printf("string is %s\n",result); else if (ferror(stdin)) printf("Error\n"); } ``` -------------------------------- ### VMFINS INSTALL INFO (MEMO output Source: https://www.ibm.com/docs/en/zvm/7.5.0?topic=users-using-info-operand-memo-option Example output from the VMFINS INSTALL INFO (MEMO command. It shows the VMFINS PRODLIST creation, the list of available memos with product IDs and descriptions, and the print jobs sent to the system-designated printer. ```text VMFUTL2767I Reading VMFINS DEFAULTS B for additional options VMFINS1909I VMFINS PRODLIST created on your A-disk 1 VMFINS2602R The following memos are available to be printed 2 Enter the numbers of your choices separated by blanks (0) Do not print any memos (1) I5664281 MEMO D1 Description: AMERICAN ENGLISH (2) I5686037 MEMO D1 Description: AMERICAN ENGLISH (3) 5684100E MEMO D1 Description: AMERICAN ENGLISH 1 2 3 PRT FILE 0028 TO MAINTvrm COPY 001 NOHOLD 4 PRT FILE 0029 TO MAINTvrm COPY 001 NOHOLD ``` -------------------------------- ### Example: Get help for CP FORCE command Source: https://www.ibm.com/docs/en/zvm/7.5.0?topic=tasks-step-managing-users Example of using the CP Help facility to get information about the FORCE command. ```plaintext help cp force ``` -------------------------------- ### Sample run of APPL1 Source: https://www.ibm.com/docs/en/zvm/7.5.0?topic=parameters-appl2-example-application-program-2 Shows the commands and output for running APPL1, including loading RTN1, setting the CSL library, and the resulting RC and TOTAL values. ```text Ready; rtnload rtn1 (from mylib Ready; global csllib mylib Ready; load appl1 (start Execution begins… RC = -11 RC = -11 TOTAL = 0 RC = 0 TOTAL = 1 Ready; ``` -------------------------------- ### Automatic Form Selection with Setup Pages: smsg rscs start linkid form form1 setup Source: https://www.ibm.com/docs/en/zvm/7.5.0?topic=control-file-selection-examples Starts automatic form selection with setup pages, where the prompting message uses SETUP instead of AUTO (except on LPR-type links). ```plaintext smsg rscs start linkid form form1 setup ```