Programming Interface Information: This information is NOT intended to be used as Programming Interfaces of z/VM.

#### NSGBK

Prolog

Control Block Contents
NSGBK DSECT

Storage Layout

Cross Reference (Contains links to field and bit definitions)

#### NSGBK Prolog

     NAME       : HCPNSGBK
     DESCRIPTION: GENERAL INTERFACE CONTROL BLOCK TO HCPNSG
     DSECT      : NSGBK
     FUNCTION   : THIS BLOCK IS USED AS A GENERAL INTERFACE
                  TO CREATE AND SAVE A SYSTEM DATA FILE(SDF).
     LOCATED BY : HCPNSG
     CREATED BY : ANY MODULE CALLING HCPNSG TO CREATE
                  AND SAVE A SYSTEM DATA FILE(SDF).
     DELETED BY : THE MODULE THAT CREATED IT.
     COMMENTS   : THIS BLOCK IS USED AS AN INTERFACE TO HCPNSG
                  TO CREATE AND SAVE A SYSTEM DATA FILE(SDF)
                  OF ANY TYPE.

#### NSGBK Control Block Content

#### NSGBK DSECT

    Hex   Dec Type/Val   Lng Label (dup)    Comments
    ---- ---- --------- ---- -------------- --------
    0000    0 Structure      NSGBK          GENERAL INTERFACE CONTROL BLOCK TO HCPNSG
    0000    0 Character    8 NSGFN          FILE NAME OF THE FILE TO BE READ
    0008    8 Character    8 NSGFT          FILE TYPE OF THE FILE TO BE READ
    0010   16 Bitstring    1 NSGTYPE        TYPE OF SYSTEM DATA FILE TO BE
                                            SAVED
              .... ...1      NSGDCSS        X'01' NSGDCSS Process
                                            discontiguous saved segments
              .... ..1.      NSGIMG         X'02' NSGIMG Process image files
              .... .1..      NSGNSS         X'04' NSGNSS Process named saved
                                            system files
              .... 1...      NSGNLS         X'08' NSGNLS Process NLS files
              ...1 ....      NSGSSYS        X'10' NSGSSYS Find SNTBK on Saved
                                            System queue.
              ..1. ....      NSGSSEG        X'20' NSGSSEG Find SNTBK on Saved
                                            Segment queue.
              .1.. ....      NSGSPT         X'40' NSGSPT Find SNTBK on SP
                                            Tape queue.
              .... ...1      NSGDCSS        X'01' NSGDCSS Process
                                            discontiguous saved segments
              .... ..1.      NSGIMG         X'02' NSGIMG Process image files
              .... .1..      NSGNSS         X'04' NSGNSS Process named saved
                                            system files
              .... 1...      NSGNLS         X'08' NSGNLS Process NLS files
              ...1 ....      NSGSSYS        X'10' NSGSSYS Find SNTBK on Saved
                                            System queue.
              ..1. ....      NSGSSEG        X'20' NSGSSEG Find SNTBK on Saved
                                            Segment queue.
              .1.. ....      NSGSPT         X'40' NSGSPT Find SNTBK on SP
                                            Tape queue.
    0011   17 Bitstring    1 * (3)          RESERVED
    0014   20 Signed       4 NSGVADDR       STARTING VIRTUAL ADDRESS OF DATA
                                            TO BE SAVED
    0018   24 Bitstring    1 *              RESERVED
    0019   25 Bitstring    3 NSGBYTCT       NUMBER OF BYTES TO BE SAVED
    001C   28 Signed       4 *              Reserved for IBM use.
    0020   32 Dbl-Word     8 NSGASIT        i-ASIT (must be DW aligned).
              00000028       NSGBYTSZ       *-NSGBK SIZE IN BYTES
              00000005       NSGSIZE        ((*-NSGBK)+7)/8 HEADER SIZE IN
                                            DOUBLEWORDS

#### NSGBK Storage Layout

    *** NSGBK - GENERAL INTERFACE CONTROL BLOCK TO HCPNSG
    *
    *     +-------------------------------------------------------+
    *   0 |                        NSGFN                          |
    *     +-------------------------------------------------------+
    *   8 |                        NSGFT                          |
    *     +------+--------------------+---------------------------+
    *  10 |:TYPE |////////////////////|         NSGVADDR          |
    *     +------+--------------------+---------------------------+
    *  18 |//////|     NSGBYTCT       |///////////////////////////|
    *     +------+--------------------+---------------------------+
    *  20 |                       NSGASIT                         |
    *     +-------------------------------------------------------+
    *  28
    *
    *** NSGBK - GENERAL INTERFACE CONTROL BLOCK TO HCPNSG

#### NSGBK Cross Reference

    Symbol         Dspl Value
    -------------- ---- -----
    NSGASIT        0020
    NSGBYTCT       0019
    NSGBYTSZ       0020 00000028
    NSGDCSS        0010 01
    NSGDCSS        0010 01
    NSGFN          0000
    NSGFT          0008
    NSGIMG         0010 02
    NSGIMG         0010 02
    NSGNLS         0010 08
    NSGNLS         0010 08
    NSGNSS         0010 04
    NSGNSS         0010 04
    NSGSIZE        0020 00000005
    NSGSPT         0010 40
    NSGSPT         0010 40
    NSGSSEG        0010 20
    NSGSSEG        0010 20
    NSGSSYS        0010 10
    NSGSSYS        0010 10
    NSGTYPE        0010
    NSGVADDR       0014

This information is based on z/VM V6R1.0. Last updated on 18 Feb 2010 at 08:52:40 EDT.
Copyright IBM Corporation, 1990, 2008