I have gone through the below link for connecting to mainframe and extracting files from a PDS.
Downloading text files with Python and ftplib.FTP from z/os
But, am having few doubts on the line:
sess.sendcmd("site sbd=(IBM-1047,ISO8859-1)")
Could anyone please tell, what it stands for? When we write the sess.sendcmd("site sbd=....")
, is this machine specific or is it a generic one?