Page 1 of 1
Help to delete GDG bases.
Posted: Fri Oct 16, 2015 12:30 pm
by Nitish Kumar
Hi,
When I try to use IDCAMS DELETE like the shown below:
Code: Select all
//STEP01 EXEC IDCAMS
//SYSPRINT DD SYSOUT=(,)
//SYSIN DD *
DELETE the.gdg.base.file
IF MAXCC = 8 THEN -
SET MAXCC = 0
/*
//*
I get a JCL PREP ERROR:
Code: Select all
1 ERROR MESSAGE(S)
.JCPA JCP0429E 'FILE NAME' IS AN INVALID VALUE FOR 'DELETE' - LINE: 1
Can you please suggest why this error comes? Or if you have other sample code that's different than this?
Re: Help to delete GDG bases.
Posted: Fri Oct 16, 2015 1:37 pm
by Anuj Dhawan
Hi,
Suggest you submit the job ignoring that message and see what happens?
Re: Help to delete GDG bases.
Posted: Fri Oct 16, 2015 1:52 pm
by William Collins
Other than being in lower-case (which may just be for posting here) there is nothing wrong with your DELETE ...
If you have the dataset name in lower-case, change it to uppers case. CAPS ON and type over any character on the line (with the same value) or put uc on that line in the line-area to the left of the screen.
Re: Help to delete GDG bases.
Posted: Fri Oct 16, 2015 4:34 pm
by enrico-sorichetti
every jcl checker has its own quirks.
nobody on any forum will bother to answer topics dealing with errors from jcl checkers
run the job and post the TRUE ibm signalled errors, and we will be glad to help
and, first and above all read the ibm manuals to see the proper idcams syntax
for deleting a GDG base
Re: Help to delete GDG bases.
Posted: Fri Oct 16, 2015 4:57 pm
by Anuj Dhawan
enrico-sorichetti wrote:every jcl checker has its own quirks.
Precisely the point. And that's the reason I've requested submit the job.