[Info-vax] fixing a saveset's attributes: attachment, not ftp
Steven Schweda
sms.antinode at gmail.com
Mon Jun 22 01:06:42 EDT 2015
> After base64-decoding it, what SET FILE/ATTRIBUTES command is
> needed to fix it, [...]
I'd probably try the same old DCL scripts as are used after an FTP
transfer. For example:
alp $ bac login.com login.bck /save
alp $ bac /lis login.bck /save
Listing of save set(s)
Save set: login.bck
Written by: SMS
[...]
Total of 91 files, 1649 blocks
End of save set
alp $ b64encode login.bck login.b64
alp $ b64decode login.b64 login.bck2
alp $ bac /lis login.bck2 /save
Listing of save set(s)
%BACKUP-F-NOTSAVESET, ALP$DKC0:[SMS]LOGIN.BCK2;1 is not a BACKUP save set
alp $ bac login.bck2 login.bck3
alp $ @utility:cnvb login.bck3 ! (My script.)
File record format is Stream_LF. The file's record format attribute
must be changed to fixed-512 before attempting the actual repair.
Proceed? (y/n [n]): y
Original save set record length was 32256.
Change attributes? (y/n) [n]: y
Setting file attributes...
alp $ bac /lis login.bck3 /save
Listing of save set(s)
Save set: login.bck
Written by: SMS
[...]
Total of 91 files, 1649 blocks
alp $ bac login.bck2 login.bck4
alp $ @ [.itrc]reset_backup_saveset_file_attributes.com login.bck4
alp $ bac /list login.bck4 /save
Listing of save set(s)
Save set: login.bck
Written by: SMS
[...]
Total of 91 files, 1649 blocks
End of save set
More information about the Info-vax
mailing list