transferring file from pc to mainframe pds member

TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...
valeca
Posts: 12
Joined: Wed Sep 28, 2022 3:37 am
Skillset: user
Referer: internet

transferring file from pc to mainframe pds member

Postby valeca » Wed Sep 28, 2022 3:42 am

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.

User avatar
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

Postby Pedro » Wed Sep 28, 2022 7:42 am

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

valeca
Posts: 12
Joined: Wed Sep 28, 2022 3:37 am
Skillset: user
Referer: internet

Re: transferring file from pc to mainframe pds member

Postby valeca » Wed Sep 28, 2022 8:20 am

Thanks, Pedro. Makes sense.

User avatar
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

Postby Pedro » Wed Sep 28, 2022 8:49 am

On second thought, you can use the SITE command when you do the FTP.

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

valeca
Posts: 12
Joined: Wed Sep 28, 2022 3:37 am
Skillset: user
Referer: internet

Re: transferring file from pc to mainframe pds member

Postby valeca » Wed Sep 28, 2022 10:57 am

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.

User avatar
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

Postby Pedro » Thu Sep 29, 2022 12:11 am

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