Member of object – which type, which atribute?
Have you try copy member (or object) an then delete it in test?
If you talking about source member, you can use PDM (STRPDM command), an then your source copy to production library and compile it.
Of course SAVOBJ didn’t work. That’s not what SAVOBJ does. SAVOBJ only puts objects into a container suitable for transferring to another system. Usually, the container is a savefile object.
Once the savefile holds the object, you have to transfer it. And once it’s transferred, you have to restore it. It’s like putting a PC program into a .zip file. That’s just the first step. Then you have to send it somewhere. And then you have to unzip it.
For transfer, you can use FTP, or you can use FTS, or you can use sftp, or you can use /QFileSvr.400, or you can use /QNTC, or you can use DDM…
Technically, if you have the communications set up, FTS is probably the easiest. I invoke it right against the member in PDM and the member goes straight to the target system with all attributes intact including member text. It even creates the source file if one doesn’t exist.
Next easiest is probably the SAVRSTOBJ command. That eliminates the intermediate savefile and also does the transfer for you.
But I’d be a little troubled by someone moving CL members into my production system who doesn’t already know <b>how</b> to transfer between systems…
What exactly is your question? Are you needing to learn communications between systems? Are you trying to learn differences between versions/releases of two systems?