• Nightly Batch Maintennance generates error code 10

    From Rixter@1:103/705 to ALL on Monday, January 20, 2025 08:31:16
    Good Morning,
    I found one of my nightly maint batch files on a door I just installed generating an error code 10. It is performing the function correctly but I see in my events log an error code 10 for it. What is error code 10. I can run it from dos prompt with no error. All the other nightly maints work fine just the new door. It is for a program from shining star software called don't wake the sysop I have it set for nightly maint with no options. it generates the error code 10 no matter the maint m or maint w or maint commands in the events log. Running it locally in dos mode generates no error. I will probably just let it run with the error but I was curious what an error 10 is.

    Thank you and have good day,
    Rixter

    telnet://ricksbbs.synchro.net:23
    http://ricksbbs.synchro.net:8080
    Madison,NC

    ---
    þ Synchronet þ Rick's BBS telnet://ricksbbs.synchro.net:23
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Rixter on Monday, January 20, 2025 11:21:34
    Re: Nightly Batch Maintennance generates error code 10
    By: Rixter to ALL on Mon Jan 20 2025 08:31 am

    Good Morning,
    I found one of my nightly maint batch files on a door I just installed generating an error code 10. It is performing the function correctly but I see in my events log an error code 10 for it. What is error code 10.

    Non-zero error codes are unique to each program, so you'd have to check the documention for the door in question to know what error condition that is correlated with. Unfortuantely, many programs don't document their result/error codes.

    I can run it from dos prompt with no error.

    Did you check the error level (e.g. on Windows, that's 'echo %ERRORLEVEL%')? Just because no error message was displayed doesn't mean that the program returned an errorlevel of 0.

    All the other nightly maints work fine
    just the new door. It is for a program from shining star software called don't wake the sysop I have it set for nightly maint with no options. it generates the error code 10 no matter the maint m or maint w or maint commands in the events log. Running it locally in dos mode generates no error. I will probably just let it run with the error but I was curious what an error 10 is.

    It's possible that it's not actually an error but rather indicating some other state/status information. By convention, zero means "no error" and all other values mean error, but in the DOS world (especially with hobby software), that wasn't always true.

    If you can't get the program to return a zero error level, sett its "Error Log Level" to something less than "error" will prevent it from logging errors to your error.log.
    --
    digital man (rob)

    Synchronet "Real Fact" #130:
    Synchronet v3.20b was released on January 3, 2025 (3 years after v3.19b)
    Norco, CA WX: 62.6øF, 16.0% humidity, 6 mph NNE wind, 0.01 inches rain/24hrs --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rixter@1:3634/60 to Digital Man on Monday, January 20, 2025 15:00:27

    Re: Nightly Batch Maintennance generates error code 10
    By: Rixter to ALL on Mon Jan 20 2025 08:31 am

    Non-zero error codes are unique to each program, so you'd have to check the documention for the door in question to know what error condition that is correlated with. Unfortuantely, many programs don't document their result/error codes.

    Did you check the error level (e.g. on Windows, that's 'echo %ERRORLEVEL%')? Just because no error message was displayed doesn't mean that the program returned an errorlevel of 0.

    It's possible that it's not actually an error but rather indicating some other state/status information. By convention, zero means "no error" and all other values mean error, but in the DOS world (especially with hobby software), that wasn't always true.

    If you can't get the program to return a zero error level, sett its "Error Log Level" to something less than "error" will prevent it from logging errors to your error.log.
    --
    digital man (rob)

    Synchronet "Real Fact" #130:
    Synchronet v3.20b was released on January 3, 2025 (3 years after v3.19b) Norco, CA WX: 62.6�F, 16.0% humidity, 6 mph NNE wind, 0.01 inches rain/24hrs --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)



    Thank you very much, I will try that.
    Rixter

    telnet://ricksbbs.synchro.net:23
    http://ricksbbs.synchro.net:8080
    Madison,NC
    --- SBBSecho 3.14-Win32
    * Origin: Rick's BBS - telnet://ricksbbs.synchro.net:23 (1:3634/60)
  • From Rixter@1:103/705 to Digital Man on Monday, January 20, 2025 14:56:35
    Re: Nightly Batch Maintennance generates error code 10
    By: Rixter to ALL on Mon Jan 20 2025 08:31 am

    Non-zero error codes are unique to each program, so you'd have to check the documention for the door in question to know what error condition that is correlated with. Unfortuantely, many programs don't document their result/error codes.

    Did you check the error level (e.g. on Windows, that's 'echo %ERRORLEVEL%')? Just because no error message was displayed doesn't mean that the program returned an errorlevel of 0.

    It's possible that it's not actually an error but rather indicating some other state/status information. By convention, zero means "no error" and all other values mean error, but in the DOS world (especially with hobby software), that wasn't always true.

    If you can't get the program to return a zero error level, sett its "Error Log Level" to something less than "error" will prevent it from logging errors to your error.log.
    --
    digital man (rob)

    Synchronet "Real Fact" #130:
    Synchronet v3.20b was released on January 3, 2025 (3 years after v3.19b) Norco, CA WX: 62.6¨F, 16.0% humidity, 6 mph NNE wind, 0.01 inches
    rain/24hrs ---
    ¨ Synchronet ¨ Vertrauen ¨ Home of Synchronet ¨
    [vert/cvs/bbs].synchro.net


    That is a great idea I verified it does run and it handles the work correctly so I will try setting error level to zero and moving on. I appreciate your help. I never thought of the error code 10 coming from the door program, obviously. Thank you.
    Rixter
    telnet://ricksbbs.synchro.net:23
    http://ricksbbs.synchro.net:8080
    Madison,NC

    ---
    þ Synchronet þ Rick's BBS telnet://ricksbbs.synchro.net:23
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rixter@1:103/705 to Digital Man on Monday, January 20, 2025 15:47:13
    Re: Nightly Batch Maintennance generates error code 10
    By: Rixter to ALL on Mon Jan 20 2025 08:31 am

    Non-zero error codes are unique to each program, so you'd have to check the documention for the door in question to know what error condition that is correlated with. Unfortuantely, many programs don't document their result/error codes.

    Did you check the error level (e.g. on Windows, that's 'echo %ERRORLEVEL%')? Just because no error message was displayed doesn't mean that the program returned an errorlevel of 0.

    It's possible that it's not actually an error but rather indicating some other state/status information. By convention, zero means "no error" and all other values mean error, but in the DOS world (especially with hobby software), that wasn't always true.

    If you can't get the program to return a zero error level, sett its "Error Log Level" to something less than "error" will prevent it from logging errors to your error.log.
    --
    digital man (rob)

    Synchronet "Real Fact" #130:
    Synchronet v3.20b was released on January 3, 2025 (3 years after v3.19b) Norco, CA WX: 62.6¨F, 16.0% humidity, 6 mph NNE wind, 0.01 inches
    rain/24hrs ---
    ¨ Synchronet ¨ Vertrauen ¨ Home of Synchronet ¨
    [vert/cvs/bbs].synchro.net


    That worked great for me Digital I set %errorlevel% to zero if error level = 10 upon exit of my batch file and it works great. Thank you.
    Rixter
    telnet://ricksbbs.synchro.net:23
    http://ricksbbs.synchro.net:8080
    Madison,NC

    ---
    þ Synchronet þ Rick's BBS telnet://ricksbbs.synchro.net:23
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)