Using the MOVE function of CA FAVER and receive a GV017 - ERROR IN AMS INPUT using the sample on page 83 of the CA FAVER USER GUIDE.
search cancel

Using the MOVE function of CA FAVER and receive a GV017 - ERROR IN AMS INPUT using the sample on page 83 of the CA FAVER USER GUIDE.

book

Article ID: 13861

calendar_today

Updated On:

Products

FAVER VSAM Data Protection for z/OS

Issue/Introduction



Using the MOVE function of CA FAVER and receive a GV017 - ERROR IN AMS INPUT using the sample on page 83 of the CA FAVER USER GUIDE.

Environment

z/OS

Resolution

The sample control statement in the CA FAVER USER GUIDE on page 83 regarding the MOVE function has a small error in the syntax. This will be resolved by following the example in this document.

//SYSIN DD *
MOVE
CLUSTER
CL=HILVLNOD.FAVR.VSAM1
OUTPUT
CLUSTER
CL= HILVLNOD.FAVR.VSAM1        *AMS -
CLUSTER(NAME (HILVLNOD.FAVR.VSAM1)) -    --> note this ")" is closed. The following statement
VOLUMES(PACK_1)                                              will generate the GV017 message because it is not
                                                                         attached to the previous statement
 
Use this example with the correction
 
//SYSIN DD *
MOVE
CLUSTER
CL=HILVLNOD.FAVR.VSAM1
OUTPUT
CLUSTER
CL= HILVLNOD.FAVR.VSAM1 *AMS -
CLUSTER(NAME (HILVLNOD.FAVR.VSAM1)  -
VOLUMES(PACK_1))                                        ---> note that the ")" is closed on the VOLUME
                                                                             statement