|
Hi,
After migrating to FOCUS 6.2, my procedure is still going on error,
but this time it is the following:
%FOCUS-F-INTERROR, FOCUS internal error
I include the new log file, and thank in advance for any help.
Fabio.
$! MDVLOGIN.COM
$!
$! Modifications:
$!
$! 5-DEC-1991 Thomas Higginson
$! Removed logical definitions - now done in images
$! 6-JUL-1991 Paul Milic
$! removing the logout command
$! 4-FEB-1991 F. Martin
$! Changed to properly set MDV Logical Name Table
$!***
$!*** 221092 Arjen Plantinga * added local Utrecht stuff: setting default
$!*** printers, addition of logicalname tables, etc.
$!*** 181192 Arjen Plantinga * added check on sport batch jobs and let them
$!*** execute the sportlogin
$!----------------------------------------------------------------------------
$!
$!!!*** All modes **************************************************************
$!
$! 1. Check if INTERACTIVE - If set p1 to cli
$!
$ IF F$MODE().NES."INTERACTIVE" THEN P1 = "CLI"
$ IF P1 .EQS. "" THEN P1 = "MENU"
$!
$! 2. Set MDV setups.
$!
$ SET NOCONTROL=(T,Y)
$ SET NOON
$ LOGOUT := LOGOUT
$ SET MESSAGE/NOID/NOTEX/NOFAC/NOSEV
$ esc[0,8]=27
$ cr[0,8]=13
$ highligh == esc + "[1m" + esc + "[23;1H"
$ normal == esc + "[0m" + cr + esc + "[2B"
$ MENU :== $MDV$DIR_EXE:MDVSYS
$ CLI :== $MDV$DIR_EXE:MDVCLI
$!
$! 4. Check if MDV is installed
$!
$ IF .NOT. F$FILE("MDV$DIR_EXE:MDVSHR.EXE","KNOWN") THEN GOTO NOT_INSTALL
$ IF .NOT. $status THEN GOTO NOT_INSTALL
$!
$!
$!!!*** Interactive mode *******************************************************
$!
$! 5. Check terminal
$!!! IF F$MODE() .EQS. "INTERACTIVE"
$!!! THEN
$!!! SET TERM/INQUIRE/EIGHTBIT/WRAP
$!!! IF .NOT. $status THEN GOTO UNK_TERMINAL
$!!! ENDIF
$!
$ if f$mode() .nes. "INTERACTIVE" then goto non_interactive
$non_interactive:
$! ### This part adds the applications logical name tables to non
$! ### interactive users (batch/print jobs etc.).
$! ### This is only done for space uic group 2000 (decimal 1024)
$! ### on hlis42.
$ if f$getsyi("nodename") .nes. "HLIS42" .or. f$getjpi("","grp") .ne. 1024 -
then goto all_modes
$!
$Logical_name_tables:
$ table_name = "SPACE$_TABLE,CS020$_TABLE,SPORT$TABLE,CSR$_TABLE"
$! ### These tables are added to lnm$file_dev.
$ max_index = f$trnlnm("lnm$file_dev","lnm$system_directory",,,,"MAX_INDEX")
$ list_index = 0
$ full_str = ""
$!
$loop:
$! ### SAVE current value lnm$file_dev into variable "full_str"
$ equiv_str = f$trnlnm( "lnm$file_dev","lnm$system_directory",list_index)
$ full_str = full_str + equiv_str
$ list_index = list_index + 1
$ if list_index .gt. max_index then goto end_loop
$ full_str = full_str + ","
$ goto loop
$loop:
$! ### SAVE current value lnm$file_dev into variable "full_str"
$ equiv_str = f$trnlnm( "lnm$file_dev","lnm$system_directory",list_index)
$ full_str = full_str + equiv_str
$ list_index = list_index + 1
$ if list_index .gt. max_index then goto end_loop
$ full_str = full_str + ","
$ goto loop
$loop:
$! ### SAVE current value lnm$file_dev into variable "full_str"
$ equiv_str = f$trnlnm( "lnm$file_dev","lnm$system_directory",list_index)
$ full_str = full_str + equiv_str
$ list_index = list_index + 1
$ if list_index .gt. max_index then goto end_loop
$ full_str = full_str + ","
$ goto loop
$loop:
$! ### SAVE current value lnm$file_dev into variable "full_str"
$ equiv_str = f$trnlnm( "lnm$file_dev","lnm$system_directory",list_index)
$ full_str = full_str + equiv_str
$ list_index = list_index + 1
$ if list_index .gt. max_index then goto end_loop
$ full_str = full_str + ","
$ goto loop
$loop:
$! ### SAVE current value lnm$file_dev into variable "full_str"
$ equiv_str = f$trnlnm( "lnm$file_dev","lnm$system_directory",list_index)
$ full_str = full_str + equiv_str
$ list_index = list_index + 1
$ if list_index .gt. max_index then goto end_loop
$ full_str = full_str + ","
$ goto loop
$loop:
$! ### SAVE current value lnm$file_dev into variable "full_str"
$ equiv_str = f$trnlnm( "lnm$file_dev","lnm$system_directory",list_index)
$ full_str = full_str + equiv_str
$ list_index = list_index + 1
$ if list_index .gt. max_index then goto end_loop
$ full_str = full_str + ","
$ goto loop
$loop:
$! ### SAVE current value lnm$file_dev into variable "full_str"
$ equiv_str = f$trnlnm( "lnm$file_dev","lnm$system_directory",list_index)
$ full_str = full_str + equiv_str
$ list_index = list_index + 1
$ if list_index .gt. max_index then goto end_loop
$end_loop:
$! ### Creates local copy of lnm$file_dev
$ if f$locate(table_name,full_str) .lt. f$length(full_str) then goto all_modes
$ sys_pos = f$locate("LNM$SYSTEM",full_str)
$ pre_sys = f$extract(0,sys_pos,full_str)
$ post_sys = f$extract(sys_pos,84 , full_str)
$ full_str = pre_sys + table_name + "," + post_sys
$ define/table=lnm$process_directory/nolog lnm$file_dev LNM$PROCESS,LNM$JOB,LNM$GROUP,SPACE$_TABLE,CS020$_TABLE,SPORT$TABLE,CSR$_TABLE,LNM$SYSTEM,DECW$LOGICAL_NAMES,LNMSHR$MDV,TOP$BOM_TABLE
$!
$!
$execute_sport_login:
$! !# since sport v. 2.2-B sportjobs need to execute the sportlogin
$! !# therein are some required (setup) definition
$ if f$mode() .eqs. "BATCH" .and. -
f$getqui("display_entry","queue_name",,"this_job") .eqs. "SPORT$$P_BATCH"
$ then
$ @sport$$p_root:[000000]sport_login.com
$!
$!============================================================================!
$! Title : sport_login.com
$! Author : Andrea Antonangeli 15/5/1989
$! Version : V1.00
$! Abstract : first command executed by SPORT
$! Enviroment : Language DCL
$! : Operating System VMS V5.0
$! Modification log : Fabio 10-JUN-1992
$! define SYS$HELP at process level, and deassign
$! when EXITing.
$! Save user's definitions of FOC$DIRx,
$! define FOC$DIRx logocals at process level,
$! restore user's values on EXIT.
$! Save user's definition on logical searching list,
$! and restore user's values on EXIT.
$!
$!----------------------------------------------------------------------------!
$! * � * COPYRIGHT Digital Equipment Co. Ltd. 1989 *
$!----------------------------------------------------------------------------!
$! Description :
$!============================================================================!
$ set NOverif
$ exit
$ endif
$!
$!
$!!!*** All modes **************************************************************
$!
$LOGOUT:
$all_modes:
$ SET CONTROL=(T,Y)
$ exit
$!
$!*****************************************************************************
$! Title : USR_05_R.COM
$! Author : Fabio Ferrari 14/7/1989
$! Version : V1.00
$! Enviroment : Language DCL
$! : Operating System VMS V5.3
$! Modification log : -
$!*****************************************************************************
$!
$ SET NOON
$ on error then goto ERROR_EXIT
$ SAVE_DIR = F$TRNLNM("SYS$DISK")+F$DIRECTORY()
$ SET DEFAULT SPORT$$D_DML
$!
$ IF F$SEARCH ("SPORT$$D_WRK:USR_05.WRK") .NES. "" THEN -
DELETE/NOLOG SPORT$$D_WRK:USR_05.WRK;*
$!
$! set verify
$!
$! Added the following two line because it seems FOCUS doesn't succeed in
$! creating a subdirectory when there are ACLs (!!!) -- A.A.
$!
$ this_proc = F$getjpi("","PID")
$ define/job qtmpdir_path "[dml.204008C6]"
$ create/dir [.204008C6]
$ FOCUS /NOBANNER/SUBDIR=KEEP "EXEC SPORT$$D_EXE:USR_05_R.FEX"
>>>>>>PARAMETERS FOR SELECTION
Start Date Quote Creation: 01-JAN-93
End Date Quote Creation: 31-MAR-93
Admin Cost Centre : ALL
Admin Badge Nr : ALL
Sales Badge Nr : ALL
Company Nr : ALL
Company Type : ALL
Service Costcentres : ALL
%SPORT-I-USR_051, USR_051 created with 359216 lines
%SPORT-I-USR_052, USR_052 created with 359216 lines
%SPORT-I-USR_051, USR_051 deleted
%SPORT-I-USR_053, USR_053 created with 404285 lines
%SPORT-I-USR_052, USR_052 deleted
%FOCUS-F-INTERROR, FOCUS internal error
$ERROR_EXIT:
$ WRITE SYS$OUTPUT "**********************************************"
**********************************************
$ WRITE SYS$OUTPUT "%SPORT-E-UR5NTGTD, report usr_05 not generated"
%SPORT-E-UR5NTGTD, report usr_05 not generated
$ WRITE SYS$OUTPUT "**********************************************"
**********************************************
$!
$ SET DEFAULT MDV$USER:[LAMSWEERDE_A]
$ SET NOON
$ EXIT
LAMSWEERDE_A job terminated at 10-MAR-1993 20:37:02.05
Accounting information:
Buffered I/O count: 9122 Peak working set size: 7685
Direct I/O count: 2211853 Peak page file size: 20878
Page faults: 7215 Mounted volumes: 0
Charged CPU time: 0 01:47:55.09 Elapsed time: 0 12:06:32.03
|