JT400 – 与媒体信息交互 (WRKMEDIBRM)

huangapple go评论83阅读模式
英文:

JT400 - Work with Media Information (WRKMEDIBRM)

问题

对不起,你提供的文本已经是英文的了,不需要翻译。如果你有其他需要翻译的内容,请随时提问。

英文:

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

答案1

得分: 1

请注意,备份、恢复和媒体服务(BRMS)是一个可以单独安装和收费的产品。

话虽如此,BRMS确实有它自己的一套APIs

然而,JT400并不包括任何与BRMS产品交互的特定功能。

快速浏览BRMS APIs似乎显示它们都使用(OPM) *PGM接口。因此,JT400的ProgramCall类足以调用它们。

编辑
JT400还有一个CommandCall类,但它只适用于不调用带有交互式UI的程序的命令。所以例如,你不能像你的评论中提到的那样调用WRKSYSSTS

与BRMS交互的最佳选择是使用它的API和ProgramCall类。

英文:

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.

huangapple
  • 本文由 发表于 2020年4月8日 14:47:52
  • 转载请务必保留本文链接:https://go.coder-hub.com/61094808.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定