Page 1 of 1

transferring file from pc to mainframe pds member

PostPosted: Wed Sep 28, 2022 3:42 am
by valeca
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.

Re: transferring file from pc to mainframe pds member

PostPosted: Wed Sep 28, 2022 7:42 am
by Pedro
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')

Re: transferring file from pc to mainframe pds member

PostPosted: Wed Sep 28, 2022 8:20 am
by valeca
Thanks, Pedro. Makes sense.

Re: transferring file from pc to mainframe pds member

PostPosted: Wed Sep 28, 2022 8:49 am
by Pedro
On second thought, you can use the SITE command when you do the FTP.

It would be something like this:
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

Re: transferring file from pc to mainframe pds member

PostPosted: Wed Sep 28, 2022 10:57 am
by valeca
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.

Re: transferring file from pc to mainframe pds member

PostPosted: Thu Sep 29, 2022 12:11 am
by Pedro
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.