Having issues with generating an SMFLUP for SMTABS in 7.7.x
If you are having issues with getting all your meta-data changes into SMFLUP from SMTABS, like I was here are some changes that you can add to UTR999 and UTR998 to shorten the key to be updated and reconstitute the key for updating.
UTR999 (Generate SMFLUP):
1036 if smflup.file_name$="SMTABS" then { ! Take PCOND$ value and shorten by substituting spaces for $00$ and add one $00$ to the shortened value to expand later.
1037 short_key$=k2$(1,12)+cvs(sub(k2$(13,80),$00$," "),3)+$00$+k2$(93)
1038 smflup.key_updated$=short_key$ ! New key will be less than 64 and fit in SMFLUP.
1039 }
1236 if smflup.file_name$="SMTABS" then { ! Take PCOND$ value and shorten by substituting spaces for $00$ and add one $00$ to the shortened value to expand later.
1237 short_key$=k1$(1,12)+cvs(sub(k1$(13,80),$00$," "),3)+$00$+k1$(93)
1238 smflup.key_updated$=short_key$ ! New key will be less than 64 and fit in SMFLUP.
1239 }
1406 if smflup.file_name$="SMTABS" then { ! Take PCOND$ value and shorten by substituting spaces for $00$ and add one $00$ to the shortened value to expand later.
1407 short_key$=k1$(1,12)+cvs(sub(k1$(13,80),$00$," "),3)+$00$+k1$(93)
1408 smflup.key_updated$=short_key$ ! New key will be less than 64 and fit in SMFLUP.
1409 }
UTR998 (Update files from SMFLUP):
0656 if smflup.file_name$="SMTABS" then { ! Reconstitute KEY_UPDATED$ from the first 12 characters, then the next segment up to the first $00$ after position 13, padded to 80 with $00$, and add the last piece from the $00$ after position 13.
0657 long_key$=smflup.key_updated$(1,12)+pad(smflup.key_updated$(13,pos($00$=smflup.key_updated$(13))),80,$00$)+smflup.key_updated$(13+pos($00$=smflup.key_updated$(13)))
0658 smflup.key_updated$=long_key$ ! Restore key length original size...
0659 }
I have generated an SMFLUP file using the changes but have not as of yet, used the process to update the files from SMFLUP. The SMFLUP file does have all the SMTABS records that I was missing from the update of my incremental install 7.7.3.
You can use at your own risk. I guarantee, double your money back - so 2 x $0.00, you get the idea!
HTH anyone that has had issues with SMTABS.