diff options
author | Peter Mikkelsen <petermikkelsen10@gmail.com> | 2025-09-24 20:03:08 +0200 |
---|---|---|
committer | Peter Mikkelsen <petermikkelsen10@gmail.com> | 2025-09-24 20:03:08 +0200 |
commit | e2fdb3b662c3b85bb98c7739a10dfba10435cbde (patch) | |
tree | 8219a29c293e7428fcf184505aca34cbadd13310 /sites/pmikkelsen.com/mainframe/howto.md | |
parent | 2619bffe262fb81d5d189a2d6a96d7a584f9549b (diff) |
Sync
Diffstat (limited to 'sites/pmikkelsen.com/mainframe/howto.md')
-rw-r--r-- | sites/pmikkelsen.com/mainframe/howto.md | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/sites/pmikkelsen.com/mainframe/howto.md b/sites/pmikkelsen.com/mainframe/howto.md new file mode 100644 index 0000000..2809db4 --- /dev/null +++ b/sites/pmikkelsen.com/mainframe/howto.md @@ -0,0 +1,36 @@ +## Transfer file to/from MVS + +Let's say I have written some wise words in a file on mvs, and I want a copy on my linux machine. The MVS file name is `PETER.TEST.TEXT(WISDOM)`, and the linux file is `/tmp/wisdom.txt`. In the file transfer gui, the MVS file name must be enclosed in single quotes. + +* On MVS: hit F3 until you get to the READY prompt. +* Now click `File > File transfer...` in x3270, and type in the local (linux) and host (mvs) file names. The options selected should be `Receive from host`, `Host is TSO`, `Transfer ASCII file`. I leave the rest as it is. +* Click `Transfer File` +* Check that it transferred the file. + +Example file contents: + + peter@fedora:~$ cat /tmp/wisdom.txt + Så blev de sgu sure. + Det er linie. + + +To transfer a file from linux to mvs, follow the same steps, but click the `Send to host` option instead. + +## Get back to "the main menu" (ISPF) after hitting F3 too many times + +Type `ispf` at the `READY` prompt. + +## Exit the editor when it says "SAVE not valid in VIEW mode" + +You have opened the editor in view mode (v), but made changes. You should probably have opened it in edit mode (e). For now, type `cancel` to discard your changes, and try again in edit mode this time. + +## Help, I can't type anything, and there is a big red X at the bottom of my x3270 window + +Hit RESET (Alt-r), and place the curser somewhere where you are allowed to type.There is also HOME (Alt-h) which is nice. + +## Scroll + +* Up: `F7` +* Down: `F8` +* Left: `F10` +* Right: `F11` |