Results 1 to 8 of 8

Thread: error SCCS FILE

  1. #1
    Join Date
    Oct 2003
    Posts
    232

    Angry Unanswered: error SCCS FILE

    2 QUESTION

    1)
    i get this error when i try to get the file
    servername> get 40608010.sch
    ERROR [40608010.sch]:
    Specify an SCCS file with this command.(co1)

    2)
    first 3 numbers are M(month) DD (DAY)
    How do i pass a value from window batch file ???
    bigfoots

  2. #2
    Join Date
    Jun 2003
    Location
    West Palm Beach, FL
    Posts
    2,713

    Cool

    1)
    i get this error when i try to get the file
    servername> get 40608010.sch
    ERROR [40608010.sch]:
    Specify an SCCS file with this command.(co1)
    'get' is an SCCS command, (Source Code Control System).

    What is it you want to 'get'?
    Maybe you are thinking about the ftp get?


    2)
    first 3 numbers are M(month) DD (DAY)
    How do i pass a value from window batch file ???
    Pass where?
    Last edited by LKBrwn_DBA; 06-30-04 at 13:47.
    The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb

  3. #3
    Join Date
    Oct 2003
    Posts
    232

    Arrow

    i want to download files from unix to window machine each day i run a batch file (which pass the date )
    The files are name e.g 62819009.sch meaning (6 month and 28 day)
    There are 300 files for a particular date
    My batch file contains the following

    dir %1?????.sch /o-s-----------------------------------to pass the date to batch file
    ftp -i -s:\\servername\directroyname\viccopy.txt miamivic---------------------to call a txt file that has unix command



    My viccopy contains the following commands

    username
    password
    cd /usr/viis/conf/NMI/scheds
    mget %1?????.sch----------------------------------how do i pass date to unix,,, this does not work
    bye



    any other way to get this file


    salimt
    bigfoots

  4. #4
    Join Date
    Jun 2003
    Location
    West Palm Beach, FL
    Posts
    2,713

    Wink

    Try this:

    1) Create a file with the username/password like:

    File name: \\servername\directroyname\FTPpw.txt which would contain:
    username
    password
    cd /usr/viis/conf/NMI/scheds

    2) Your batch file will look something like this:
    Code:
    copy /Y \\servername\directroyname\FTPpw.txt  \\servername\directroyname\viccopy.txt
    echo mget %1?????.sch >>\\servername\directroyname\viccopy.txt
    echo bye >>\\servername\directroyname\viccopy.txt
    ftp -i -s:\\servername\directroyname\viccopy.txt miamivic


    any other way to get this file?
    Last edited by LKBrwn_DBA; 07-01-04 at 12:06.
    The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb

  5. #5
    Join Date
    Oct 2003
    Posts
    232
    there are about 300 files to get (small)

    so i have to mget all 300 from unix to windows


    i have batch file on windows ( i think u got that right)

    though its still not working
    bigfoots

  6. #6
    Join Date
    Jun 2003
    Location
    West Palm Beach, FL
    Posts
    2,713

    Exclamation

    Quote Originally Posted by sjumma
    there are about 300 files to get (small)
    so i have to mget all 300 from unix to windows
    i have batch file on windows ( i think u got that right)
    though its still not working
    Post your batch file and any other related files
    Last edited by LKBrwn_DBA; 06-30-04 at 19:33.
    The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb

  7. #7
    Join Date
    Oct 2003
    Posts
    232
    works fine Thanks for your help

    One more question

    how do i suppress message

    of

    opening port transferring file

    transfer complete

    300 times
    bigfoots

  8. #8
    Join Date
    Jun 2003
    Location
    West Palm Beach, FL
    Posts
    2,713

    Cool

    Try redirecting the output from ftp:

    ftp -i -s:\\servername\directroyname\viccopy.txt miamivic >\temp\MyFTP.log

    Also, instead you could add the following to the FTPpw.txt file:
    verbose

    Last edited by LKBrwn_DBA; 07-01-04 at 18:06.
    The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •