05.02.2013 Views

Chapter 3. Operating NetView FTP V2.2.1 MVS - IBM

Chapter 3. Operating NetView FTP V2.2.1 MVS - IBM

Chapter 3. Operating NetView FTP V2.2.1 MVS - IBM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The library DVG.N<strong>FTP</strong>230.SDVGSAM0 contains a module that you can use as<br />

a sample. The sample has the name DVGCXAMD and is shown in Figure 64.<br />

TITLE 'DVGCXAMD - SAMPLE MESSAGE MODULE'<br />

�/��������������������������������������������������������������������/<br />

�/�� MODULE-NAME = DVGCXAMD �/<br />

�/�� DESCRIPTIVE-NAME = MESSAGE MODULE (EXAMPLE) �/<br />

�/�� 5685-1�8 (C) COPYRIGHT <strong>IBM</strong> CORP. 1991, 1994 �/<br />

�/�� LICENSED MATERIALS - PROPERTY OF <strong>IBM</strong> �/<br />

�/�� SEE COPYRIGHT INSTRUCTIONS, G12�-2�83 �/<br />

�/�� �/<br />

�/�� STATUS = NETVIEW <strong>FTP</strong> V2 <strong>MVS</strong> REL.2.1 �/<br />

�/��������������������������������������������������������������������/<br />

EJECT<br />

DVG$GMC SECTYPE=CSECT,SECTNAM=DVGCCMDU<br />

SPACE 3<br />

END<br />

Figure 64. Module DVGCXAMD—Sample Message Module<br />

In your message module:<br />

� The macro name must be the name you gave to your copy of DVG$GMC.<br />

� The value of SECTYPE must be CSECT.<br />

� The value of SECTNAM must be the same as the name of the load<br />

module.<br />

8. Assemble your message module.<br />

9. Link-edit your message module using the same load module name that you<br />

specified for the SECTNAM operand.<br />

Rules to Follow when Changing the Message Texts<br />

� Do not use the character @ when changing messages. This character is used<br />

by <strong>NetView</strong> <strong>FTP</strong> <strong>V2.2.1</strong> <strong>MVS</strong> to indicate where in the message the variable<br />

information is to be inserted.<br />

� You can change the fixed portion of the text, even the length of the fixed<br />

portion.<br />

� You can change the relative positions of the variables. The number of variables,<br />

however, must remain the same.<br />

� All messages in the DVG$GMC macro must be written in uppercase letters.<br />

� A variable or blank must appear every 38 bytes.<br />

� A variable is denoted by the string &VP.nn, where nn is a 2-digit number. Generally<br />

the numbers start with 01 and are incremented by 1.<br />

� A variable must be preceded by a blank unless the variable is the first item in<br />

the message.<br />

� A variable must appear in the first 255 bytes.<br />

� The variables referred to in a changed message must be the same as those<br />

referred to in the original message.<br />

� The value of a variable is set by the module that issues the message. You<br />

cannot set the value of a variable.<br />

130 <strong>NetView</strong> <strong>FTP</strong> V2 <strong>MVS</strong> Installation, Operation, and Administration

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!