transferring file from pc to mainframe pds member



TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...

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.
valeca
 
Posts: 12
Joined: Wed Sep 28, 2022 3:37 am
Has thanked: 3 times
Been thanked: 0 time

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

These users thanked the author Pedro for the post:
valeca (Wed Sep 28, 2022 8:20 am)
User avatar
Pedro
 
Posts: 684
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times

Re: transferring file from pc to mainframe pds member

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

Thanks, Pedro. Makes sense.
valeca
 
Posts: 12
Joined: Wed Sep 28, 2022 3:37 am
Has thanked: 3 times
Been thanked: 0 time

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:
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
User avatar
Pedro
 
Posts: 684
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times

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.
valeca
 
Posts: 12
Joined: Wed Sep 28, 2022 3:37 am
Has thanked: 3 times
Been thanked: 0 time

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
User avatar
Pedro
 
Posts: 684
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times


Return to TSO & ISPF

 


  • Related topics
    Replies
    Views
    Last post