1748003 Members
4632 Online
108757 Solutions
New Discussion юеВ

Codasyl Database Issue

 
SOLVED
Go to solution
Tony Marron
Advisor

Codasyl Database Issue

I am trying to write a DCL script that will automate the process of refreshing a database. The first stage of which is to delete the old one using the command:-

DBO/DELETE DKA0:[xxxx]xxxxx

When I run this command the system prompt DELETE ? [N]

I have tried various options in the script to get an auto respond of 'Y' to the prompt but nothing seems to work ( $DECK, quotes etc).

Any suggestions?

Thanks in advance.
4 REPLIES 4
Volker Halle
Honored Contributor
Solution

Re: Codasyl Database Issue

Tony,

normally a well-written OpenVMS application might have a /NOCONFIRM qualifier ?

Volker.
Tony Marron
Advisor

Re: Codasyl Database Issue

Volker,

The perfect solution - and obvious when you point it out - DOH !!

Many Thanks,

Tony.
Jan van den Ende
Honored Contributor

Re: Codasyl Database Issue

Tony,

that same info is also available from HELP DBO....

fwiw

Proost.

Have one on me.

jpe
Don't rust yours pelled jacker to fine doll missed aches.
Jan van den Ende
Honored Contributor

Re: Codasyl Database Issue

oh, and, from that same HELP DBO:

In INTERACTIVE mode the default is /CONFIRM, but in BATCH mode it is /NOCONFIRM, which means that the issue litterally is a non-issue!

Proost.

Have one on me.

jpe
Don't rust yours pelled jacker to fine doll missed aches.