Reputation: 637
Does anyone know how to work with AS400 media ( Tapes ) in JT400 Java. I need to get the tape details via a Java program. ( WRKMEDIBRM )
Thanks Buddhika
Upvotes: 2
Views: 250
Reputation: 23823
Note that Backup, Recovery, and Media Services (BRMS) is a separately install-able and chargeable product.
That being said, BRMS does have it own set of APIs
However, JT400 doesn't include any specific functionality for interacting with the BRMS product.
A quick glance through the BRMS APIs seems to show that they all use a (OPM) *PGM interface. So JT400's ProgramCall class would be sufficient to call them.
EDIT
JT400 also has a CommandCall class , but it's only useful for commands that don't invoke a program with a interactive UI. So for example, you couldn't call WRKSYSSTS
as mentioned in your comment.
For interacting with BRMS, the best option would be using it's APIs and teh ProgramCall class.
Upvotes: 1