Your best friend for file transfer.

Fetch application logoFetch

IBM MVS does not permit .ext's in filemame (10 posts)

  • Started 17 years ago by Augsburger1942
  • Latest reply 16 years ago from Scott McGuire
  • Augsburger1942 Member

    Help

    Several years ago I used the WS-FTP program on a Mac with virtual PC emulation. WS-FTP allowed for a list of file extensions to be dropped from the file name when uploading to the IBM MVS Mainframe.

    I now have an intel Mac and want to use Fetch 5.2 to do the same. Unfortuanately I have not found a way to drop the .ext's in Fetch, have unchecked all the extension boxes in the upload tab of the Preferences.

    The company I work for uses the same file name with different .ext's to differentiate between the types of modules.

    At times I have to upload 100odules to the different folders on the mainframe. The process of duplicating each type of modules and deleting the .ext with Filebuddy before the can be uploaded is a somewhat viable workaround. It sure would be nice if the .ext's could be automatically deleted by Fetch.

    Thanks
    Gerd :()

    [This message has been edited by Augsburger1942 (edited 04-15-2007).]

    Posted 17 years ago #

  • Jim Matthews Administrator

    Do you just want Fetch to remove the file name extensions before uploading? Or do you also want the upload to go to a different folder, depending on what the extension was?

    I think you could use an AppleScript to duplicate the file on your Mac and strip the extension before uploading. Let me know if you'd like help creating such a script.

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 17 years ago #

  • Augsburger1942 Member

    Jim

    I am a Main frame programmer and have not dabbled in scripting yet. So any help you can give me will be greatly appreciated.

    Here is a matrix for the 4 major groups with fixed rules.

    --------------------------------------
    1) Duplication Step

    .ext Mac Folder Dupe to Mac Folder

    .asm ASM ASM Archive
    .cob BATCH BATCH Archive
    .cob ONLINE ONLINE Archive
    .lib CPYLIB CPYLIB Archive
    --------------------------------------

    2) FTP Step

    Mac Folder FTP to MVS Folder

    ASM SFAT.SIGMA.Y2K.ASM
    BATCH SFAT.SIGMA.Y2K.BATCH
    ONLINE SFAT.SIGMA.Y2K.ONLINE
    CPYLIB SFAT.SIGMA.Y2K.CPYLIB
    ---------------------------------

    Thanks for all your help.
    Gerd

    Posted 17 years ago #

  • Augsburger1942 Member

    [QUOTE]Originally posted by Augsburger1942:
    [B]Jim

    I am a Main frame programmer and have not dabbled in scripting yet. So any help you can give me will be greatly appreciated.

    Here is a matrix for the 4 major groups with fixed rules.

    1) Duplication Step
    --------------------------------------
    .ext .... Mac Folder .. Dupe to Mac Folder

    .asm ... ASM ............ ASM Archive
    .cob .... BATCH ........ BATCH Archive
    .cob .... ONLINE ....... ONLINE Archive
    .lib ..... CPYLIB ......... CPYLIB Archive
    -------------------------------------

    2) FTP Step
    --------------------------------------
    Mac Folder .. FTP to MVS Folder

    ASM ............ SFAT.SIGMA.Y2K.ASM
    BATCH ........ SFAT.SIGMA.Y2K.BATCH
    ONLINE ....... SFAT.SIGMA.Y2K.ONLINE
    CPYLIB ........ SFAT.SIGMA.Y2K.CPYLIB
    --------------------------------------

    Thanks for all your help
    Gerd

    Posted 17 years ago #

  • Jim Matthews Administrator

    Thanks for that information. Are all the files, with various extensions, all in the same folder to start? Or are they already in the ASM, BATCH, ONLINE and CPYLIB folders?

    It might be helpful for you to describe the steps you follow to process one file. If you'd rather pursue this privately, please email bugs at fetchsoftworks dot com.

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 17 years ago #

  • Augsburger1942 Member

    Hello Jim

    Here are the steps I am currently using to process the files.

    Upon notification from our outside vendor I Fetch the available file(s) into a common folder. Then I move the .lib & .asm files into the appropiate Mac folders. The .cob files are moved into the Batch or online folders depending on the first 3 characters of the file name. This takes care of 98% of the files. The remaining 2 % have various rules that must be applied before uploading to the main-frame.

    At that point the files are copied to their archive folders on my Mac, stripped of their extensions and uploded to the correct files on the Main-frame for further processing.

    Hope this clears up the questions you have.

    Thank
    Gerd

    Posted 17 years ago #

  • Jim Matthews Administrator

    I've written a script that will upload the files dropped on it to different folders, depending on the file name extension, removing the extension before uploading. You would have to customize the script in order to have the uploads go to the correct locations on your server.

    If you could send an email message to bugs at fetchsoftworks dot com requesting the script I will send you a copy with instructions.

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 17 years ago #

  • Augsburger1942 Member

    Jim

    Processed first batch of files flawlessly. Your script work great. Wich other Companies would be as accommodating as yours.

    Thanks again for all the help
    Gerd

    Posted 16 years ago #

  • Augsburger1942 Member

    Jim

    Perfect.

    Thanks for all the work you have done for me.
    I wish other companies would be halfway as accommodating to special requests as you are.
    Fetch is definitely worth the $25 dollars.

    Thanks again.
    Gerd

    Posted 16 years ago #

  • Scott McGuire Administrator

    Hi Gerd,

    On behalf of Jim and the rest of the Fetch team, we're glad we could help and you're welcome!

    Best,

    Scott McGuire
    Fetch Softworks

    Posted 16 years ago #

Reply

  • Or nickname, if you prefer.
  • This will be kept confidential.
  • This is to ensure that you’re a person, not a spambot.