Skip to content

Commit 4ce9f5c

Browse files
authored
doc file transfer (#227)
1 parent 432b7b6 commit 4ce9f5c

File tree

2 files changed

+33
-1
lines changed

2 files changed

+33
-1
lines changed

docs/transfer.md

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
title: File Transfer
3+
hide:
4+
- toc
5+
---
6+
7+
## Upload a File from PC to Mainframe
8+
9+
1. Log into TSO session
10+
2. Go to READY prompt (exit ISPF)
11+
3. Enter command: `IND$FILE PUT CLEANUP.PROC ASCII CRLF LRECL(80) RECFM(F)`
12+
4. Press Enter. You should see a message at the top of the screen "File transfer in progress"
13+
5. Press ESC to go to ZTI shell mode
14+
6. Enter command: `upload /path/to/laptop/file.txt`
15+
7. ZTI will upload the file and return you to the TSO READY prompt
16+
8. Repeat from step 3 to upload more files.
17+
18+
## Download Files from PC to Mainframe
19+
20+
1. Log into TSO session
21+
2. Go to READY prompt (exit ISPF)
22+
3. Enter command: `IND$FILE GET CLEANUP.PROC ASCII CRLF`
23+
4. Press Enter. You should see a message at the top of the screen "File transfer in progress" and a countdown of bytes.
24+
Wait until the message disappears.
25+
5. Repeat steps 3 and 4 for as many files as you want to download.
26+
6. Press ESC to go to ZTI shell mode
27+
7. Enter command `downloads` to see a list of pending downloaded files.
28+
8. Enter command `receive /path/to/laptop/file.txt` . This will bring in the first file from the downloads list. Note
29+
that shell expansions like `~` do not work!
30+
9. Repeat steps 7 and 8 for all the available files.
31+
10. Enter command `goto` to return to the TSO READY prompt.

mkdocs.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ nav:
33
- Colors: colors.md
44
- Screen Sizing: screen-sizing.md
55
- Security: security.md
6+
- File Transfer: transfer.md
67
- API Reference:
78
- ati: ati.md
89
- ati (compatability): ati-compat.md
@@ -89,4 +90,4 @@ markdown_extensions:
8990
- pymdownx.details:
9091
- pymdownx.tabbed:
9192

92-
copyright: Copyright © IBM 2022, 2023
93+
copyright: Copyright © IBM 2022, 2025

0 commit comments

Comments
 (0)