I transfer the file from pc to mainframe pds member successfully, however statistics is not created for it despite the profile has stats on.
What can be wrong? Thanks.
transferring file from pc to mainframe pds member
- Pedro
- Posts: 686
- Joined: Thu Jul 31, 2008 9:59 pm
- Skillset: ISPF
- Referer: google
- Location: Silicon Valley
Re: transferring file from pc to mainframe pds member
ISPF statistics are an ISPF thing. And so far, you have not involved ISPF. The profile comes into play when you edit and save the file. (you might still need to say 'stats on')
Pedro Vera
Re: transferring file from pc to mainframe pds member
Thanks, Pedro. Makes sense.
- Pedro
- Posts: 686
- Joined: Thu Jul 31, 2008 9:59 pm
- Skillset: ISPF
- Referer: google
- Location: Silicon Valley
Re: transferring file from pc to mainframe pds member
On second thought, you can use the SITE command when you do the FTP.
It would be something like this:
this is untested. (sorry, I am retired and cannot test anymore)
See IP User's Guide and Commands, SC27-3662-00.
https://www.ibm.com/docs/en/zos/2.1.0?t ... e-commands
It would be something like this:
Code: Select all
FTP my.zos.system.com
SITE ISPFSTATS
PUT my.txt my.pds(mytxt)
this is untested. (sorry, I am retired and cannot test anymore)
See IP User's Guide and Commands, SC27-3662-00.
https://www.ibm.com/docs/en/zos/2.1.0?t ... e-commands
Pedro Vera
Re: transferring file from pc to mainframe pds member
Thanks. Worth to try, but FTP is not an option ( unfortunately ). Also, it looks to me that this way it will update all PDS members, while I need that just for newly transferred.
Currently we just edit the uploaded members to update their stats. On one hand - it takes more time, but on the other - it is easy to find uploaded ones, as they all have no statistics at all.
Currently we just edit the uploaded members to update their stats. On one hand - it takes more time, but on the other - it is easy to find uploaded ones, as they all have no statistics at all.
- Pedro
- Posts: 686
- Joined: Thu Jul 31, 2008 9:59 pm
- Skillset: ISPF
- Referer: google
- Location: Silicon Valley
Re: transferring file from pc to mainframe pds member
it looks to me that this way it will update all PDS members
It is not clear why you think that. Only the members that are created or replace are affected. That is how ISPF stats work.
Perhaps you can elaborate on how you transfer from PC to mainframe.
Pedro Vera
-
- Similar Topics
- Replies
- Views
- Last post
-
- 8
- 5064
-
by enrico-sorichetti
View the latest post
Fri Mar 12, 2021 4:09 pm
-
- 1
- 2883
-
by Robert Sample
View the latest post
Sun Feb 20, 2022 8:04 pm
-
- 7
- 5207
-
by sergeyken
View the latest post
Fri Nov 13, 2020 1:24 am
-
-
FTP dataset member with Arabic letters
by Mahmoud Anwer » Sat May 29, 2021 6:37 pm » in Simulators & Emulators - 1
- 3754
-
by enrico-sorichetti
View the latest post
Sat May 29, 2021 11:57 pm
-
-
-
REXX Code to find if PDS JCL member has how many DD
by abhilashanaik » Tue Sep 14, 2021 11:17 am » in CLIST & REXX - 5
- 2268
-
by sergeyken
View the latest post
Wed Sep 15, 2021 6:02 am
-