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.

Document ID : KB000013861
Last Modified Date : 14/02/2018
Show Technical Document Details
Question:

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
Answer:

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