ADSM-L

Problem when using API

2001-11-08 11:56:44
Subject: Problem when using API
From: Thiha Than <thiha AT US.IBM DOT COM>
Date: Thu, 8 Nov 2001 08:52:46 -0800
hi,

Since the backups are done using V3.7.1 API, you must use the V3.7.1 API
Sample program also.  Can you query the objects?  Make sure that query is
fine before deleting.

regards,
Thiha


>I can compile the API (v.3.1.0.6) now. But I can compile the API
(v3.7.1.0).
>Error as describe before.
>In my environment, I have install Client (v3.1.0.6), Client API (3.7.1.0)
>and TDPoracle (2.1.10). I want to use the API to delete a backup piece
which
>backup through TDPoracle. However, when I execute the sample API program
>dapismp given the following input delete failed. Please HELP as I have
many
>backup pieces in the server which need to delete manually.

>INPUT
>Choose Utilities(7) and Backup Delete(1)
>Filespace: /adsmorc
>Highlevel: /*
>Lowlevel: /<backup piece name>

>OUTPUT
>*** dsmGetNextQObj failed:
>ANS1245E (RC122)  Format unknown

>When I try again, sometimes I will have the following output.

>*** dsmBeginQuery failed:
>ANS1026E (RC136)  Session rejected: Communications protocol error

>Should I use v3.7.1.0 version API to delete the backup object?
<Prev in Thread] Current Thread [Next in Thread>