serena_knight Posted April 11, 2019 Share Posted April 11, 2019 I hope i am in the right forum has been awhile. following problem i want to copy a file from tso mainframe to my desktop (..txt file) the existing utility (file transfer) can not handle a large amount of data (24,000 records, 80 characters each. i know how to code autoit scripts. i had one that connect with the tso file transfer program, but will not work because of the amount of data. i thought of using a REXX script but i dont see if REXX can write to a windows txt file. the mainframe session does use the aVIVA EMULATOR BUT WHEN TRING TO CODE A MACRO WITH THeir basic , it fails. Does anyone have a suggestion. thank you Link to comment Share on other sites More sharing options...
condoman Posted April 11, 2019 Share Posted April 11, 2019 When I was working with TSO the systems folks had implemented FTP. I used that with UltraEdit to edit my PDS's files. Link to comment Share on other sites More sharing options...
Developers Jos Posted April 11, 2019 Developers Share Posted April 11, 2019 Moved to the appropriate forum. Moderation Team SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
serena_knight Posted April 11, 2019 Author Share Posted April 11, 2019 ty Jos i assume that moderation team is where i will post future topics? yes condoman our tso does have FTP (using ind$fle) which does not work with the size of the file i am using. i would like to code a script to handle the transfer. i thought REXX would handle .txt files, but i cant find any info on it. Link to comment Share on other sites More sharing options...
condoman Posted April 11, 2019 Share Posted April 11, 2019 It would seem to me you have two choices to communicate with the system. 1) Screen scraping a TE (terminal emulator) or 2) FTP. The only way I could see REXX getting in the process would be to automate the FTP. I assume you are using a TE on a Win desktop. There must be someone that has successfully used FTP to a server. Where I worked you needed to be in a special RACF group before FTP could be used. Link to comment Share on other sites More sharing options...
serena_knight Posted April 11, 2019 Author Share Posted April 11, 2019 ty all for your help Link to comment Share on other sites More sharing options...
Gianni Posted April 11, 2019 Share Posted April 11, 2019 If you can interact with the tso mainframe using a 3270 emulator, then you could try as indicated in this post: The x3270 emulator can be managed by AutoIt and you can easily do "Screen scraping" of entire screens or just a part using dedicated commands. Once you have captured the screen (which of course is captured in text mode) you can write the copied text in a text file, and so on for the next screen until all your data is read. Chimp small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt.... Link to comment Share on other sites More sharing options...
FrancescoDiMuro Posted April 11, 2019 Share Posted April 11, 2019 5 hours ago, serena_knight said: i assume that moderation team is where i will post future topics? No. You should post them in the appropriate Forum, which you can find here or here below: Quote forum. AutoIt Specific General Help and Support (Most support questions) GUI Support (Support for the Graphical User Interface) AutoItX Support (Support for the COM, DLL, PowerShell and .NET add-ons for AutoIt) Non-AutoIt Chat Developer Chat Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now