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.

Query a <strong>NetView</strong> <strong>FTP</strong> <strong>V2.2.1</strong> <strong>MVS</strong> File-Transfer Request<br />

Submit job DVGMVQR2, which is shown in Figure 30.<br />

This job performs two different queries of the request added by the previously submitted<br />

job DVGMVAD2. It retrieves status information about all file-transfer<br />

requests for the user ID that submitted the job and performs an administrator query<br />

for all file-transfer requests on the request queue.<br />

//DVGMVQR2 JOB (accn,n),'programmer-id',CLASS=a,<br />

// MSGCLASS=x,MSGLEVEL=(1,1),<br />

// NOTIFY=userid,USER=userid<br />

//JOBLIB DD DSN=DVG.N<strong>FTP</strong>23�.SDVGLMD1,DISP=SHR<br />

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

//� Query Requests<br />

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

//QRYALL EXEC PGM=DVGIFBI,REGION=2M<br />

//SYSUDUMP DD SYSOUT=�<br />

//DVGLOG DD SYSOUT=�<br />

//SYSPRINT DD SYSOUT=�<br />

//SYSIN DD �<br />

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

� Parameters to query all requests for this originator<br />

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

FUNCTION=QRYALL<br />

/EOR<br />

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

� Administrator function: Query all Requests<br />

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

FUNCTION=QRYADM<br />

QSTAT=ALL<br />

PASSWORD='SRTF5'<br />

/�<br />

Figure 30. DVGMVQR2 - Batch Job to Query a Request of This Originator<br />

The <strong>NetView</strong> <strong>FTP</strong> <strong>V2.2.1</strong> <strong>MVS</strong> master password is generated by the installation<br />

generator. The default value is SRTF5. Change the value in the PASSWORD<br />

control statement of this job if you defined another password in the queue handler<br />

startup parameters.<br />

When the job has finished, check that the messages shown in Figure 31 and<br />

Figure 32 on page 35 are written to DVGLOG.<br />

DVG56�I REQNUM=����1;ST=F;PRTY=1;RC=��;RSN=����;CL=1;FINIS=yy/mm/dd,hh:mm;<br />

ORIG=userid;REC=����1���;REQNAME=jobname<br />

DVG551I REQNUM=����2;ST=H;PRTY=1;RC=��;RSN=����;CL=1;ADDED=yy/mm/dd,hh:mm;<br />

ORIG=userid;REC=��������;REQNAME=jobname<br />

Figure 31. Messages when Querying All Requests for This Originator<br />

34 <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!