Operating System - OpenVMS
1752754 Members
4672 Online
108789 Solutions
New Discussion

Help in Creating an RMS indexed file

 
mrityunjoy
Advisor

Help in Creating an RMS indexed file

 I need to develop a command procedure to record all logical definition, which will  first create a rms indexed file of the following format:

 

Name table      30 chars

Logical name   30 chars

Value               255 chars

 

With the index consisting of name table + logical name

 

Then, we need to parse the output of a show logical/table=*  so that  we can build up the index file.

 

This is required to compare all logical definition before and after reboot.

 

Could you please give me idea how shall I proceed ..

 

Thanks.

Mrityunjoy Kundu -AST (TCS)
6 REPLIES 6
Phil.Howell
Honored Contributor

Re: Help!!

It looks like you have the auditors visiting?
John McL
Trusted Contributor

Re: Help!!

Spoiler
 

How much VMS experience do you have?  I'm with Brad (see the other thread that you started at almost the same time as this), and suggest that you company employ, on a consultancy or permanent basis, someone with the appropriate VMS skills. If this is for an IT audit, then I suggest that your company would benefit in the long term from failing this audit and the situation being made clear to management.  If you've taken this role but have insufficient skill then ...

 

All that said, why don't you just make simple lists of logicals - one on shutdown and one on reboot - then compare the two?  If DIFFERENCE doesn't do the job for you then just write some DCL to either do the job or massage the data so that you can use a tool.

 

(If you provide a better explanation of what you are trying to do - not an explanation of what you think might be a solution -  there's plenty of smart folk here who can probably provide some good advice.)

 

abrsvc
Respected Contributor

Re: Help!!

I too agree with Brad and John.  Your questions appear to indicate limited experience with OpenVMS.  Rather than trying to request assistance with what appears to be a "solution", perhaps a description of what problem you are trying to solve would be a better approach.  Either state with clarity the initial isseu prompting these questions or hire a consultant to assit you with the resolution.

 

If you choose to post the actual problem, please post details about the hardware and software environment as well. (models, software versions etc.)

 

Thanks,

Dan

 

(For purposes of full disclosure, I provide consulting services as do others that post here.)

Hein van den Heuvel
Honored Contributor

Re: Help!!

This topic is a duplicate to "http://h30499.www3.hp.com/t5/Languages-and-Scripting/RMS-file/m-p/5511937"

There is some example DCL code provided as a reply to that topic.

Hein. 

mrityunjoy
Advisor

Re: Help!!

Thanks for your advice. It would be good if you suggest any document on RMS please.

Mrityunjoy Kundu -AST (TCS)
Hein van den Heuvel
Honored Contributor

Re: Help!!

Unglaublich!

 

Why?

What makes you think RMS is useful/critical in solving the real problem?

Did you at least try the example provided in the original question?

Why not use a tool you know how to use?

 

Anyway...

 

$ HELP RMS 

$ HELP READ

 

http://h71000.www7.hp.com/doc/731FINAL/4506/4506PRO.HTML   --> Guide to file applications

http://h71000.www7.hp.com/doc/731FINAL/4523/4523PRO.HTML  --> RMS reference manual

http://h71000.www7.hp.com/doc/73final/6027/6027PRO.HTML --> RMS Utilities.

http://h71000.www7.hp.com/doc/731final/6489/6489pro_contents_004.html#toc_chapter_14

---> Advanced programming in DCL.

 

Hth,

Hein.