Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MIMS 4.3 Report File Names

Status
Not open for further replies.

rockie

Programmer
Feb 6, 2001
2
US
I've noticed that mims 4.3 does not include the userid in the report file name any longer. In 4.1 VMS, we wrote a utility so users could display a list of their report files from the report directory in a browser (based on userid) in order to allow them to do their own reprints. It's been a very useful function for users, and I hate to give it up. The mims 4.1 report name included the report name, printer id, number of copies, and the userid (e.g. MSR010A7701ROCKIE.LIS).

The mims 4.3 answer includes the report name (MSR010A) followed by the 2-char printer id, the number of copies, and then a unique sequence number at the end. (e.g. MSR010A7701.999). I have looked at the &quot;bec&quot; scripts extensively, but I can't seem to find a way to include the userid. There is even reference in the bec_process.pl script to <qual> which it states can be mims_jobnum, district, userid, etc, but it doesn't say how--nor do the manuals.

If anyone has a clever, or even a non-clever solution it would be most appreciated.

Regards==Rockie (aka Steve Henderson@kiewit)
 
The ability to respool reports in the UNIX port is handled via the MIMS UNIX adminstrator. This because all reports can optionally be archived into a directory after they are processed the first time.

If the user wants a respool, they make a formal request to the MIMS UNIX administrator who after checking their authentication/authorisation to have the report (don't want to give a HR report to someone in the warehouse), re-spools it on their behalf using a script called 'respool.pl'.

The USERID reference in bec_process.pl is an option parsed to the script when you want to process a request for a particular USER, which is used manually since from the MIMS online the exact KEY is used to find the record therefore USERID is not required. The <qual> reference can be anything which Mincom chooses, in this case a unique sequence number since the ability for parallel processing was an increasing requirement from our customer base.

The suggestion I have is to modify bec_process.pl to retrieve the USERID from the MSF080 record for that key and pass it to spool.pl as an option. Then change spool.pl to accept that option and use it in the Version_Report sub when copying the file from the work directory to the oldrpt directory. At the same time you can decide whether to remove the compression on the files however this has implications on 'respool.pl'. msclean.pl will still clean out these files as per options.tbl regardless.

Anthony Carbone
anthonyc@mincom.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top