Dalibor
5 pts. | Aug 19 2005 5:21AM GMT
Object member, which type, which attribute?
Have you try to copy member (or object) and then delete it in test?
If you talk about source member, you can use PDM (STRPDM command), and then your source copy to production library and compile it.
Dalibor
administrator18
0 pts. | Aug 22 2005 12:22AM GMT
I can used strpdm command if the test and production enviroment at one machine (am i correct??) but the problem is i have two different machine, one for test environment and one for production.
and of course i can copy and delete the member at test environment.
this is the type
Member . . . . . . . . : ULREPORT
File . . . . . . . . . : QCLSRC
Library . . . . . . . : USRINDIV
Member type . . . . . . : CLP
the test machine have V5R2 version, and the production V5R1 version. is the different of version make a problem for me???
thanks.
Dalibor
5 pts. | Aug 22 2005 3:42AM GMT
Yes, correct (for STRPDM command). In that case, you can use SAVOBJ command, but in Target release parameter you must type V5R1M0 if you save object on V5R2M0 system and want restore to V5R1M0 system.
With SAVOBJ command you can save object that contain member, not only member.
You didn’t tell me what type members do you want save.
For all I know, iSeries haven’t command for saving members, you must save object that contain members
administrator18
0 pts. | Aug 22 2005 5:44AM GMT
the type of the member is CLP.
“For all I know, iSeries haven’t command for saving members, you must save object that contain members” i agree with u, i have already try command savobj
=======================================================
this is the command and the result before i upgrade the test machine.
SAVOBJ OBJ(QCLSRC) LIB(USRINDIV) DEV(TAP01) OBJTYPE(*PGM) FILEMBR((QCLRSC (ULREPORT))) OUTPUT(*PRINT)
and the results at spool is
5722SS1 V5R1M0 010525 Save Object - Object Information HODEV270 27/07/05 9:30:16 Page 1
Device . . . . . . . . : TAP01
Target release . . . . : V5R1M0 Storage . . . . . . . : *KEEP
Save access paths . . : *NO Save file data . . . . : *YES
Data compressed . . . : No Data compacted . . . . : Yes
Expiration date . . . : *PERM
Library . . . . . . . : USRINDIV
Save date/time . . . . : 27/07/05 09:30:16
Object Type Attribute Saved Size Owner Text
ULREPORT *PGM CLP YES 53248 PAXUS CL - Summary Report Produk Uni
Library ——Objects—— File File
Library Saved Saved Not saved Volume Label Sequence ASP Owner Size Text
USRINDIV YES 1 0 AIGL USRINDIV 1 1 QSECOFR 991232 SSD - Proses P
* * * * * E N D O F L I S T I N G * * * * *
==========================================================
am i make a mistake command???
i want to moving object including the member but the results after i restore to production is just compile results program.
if i can’t used savobj, can i used ftp??? if yes, i never used ftp command how can i use that command?
thanks
Dalibor
5 pts. | Aug 22 2005 6:20AM GMT
Try with this command, source file QCLSRC contains your members and this should work:
SAVOBJ OBJ(QCLSRC) LIB(USRINDIV) DEV(TAP01) OBJTYPE(*FILE) SEQNBR(1) TGTRLS(V5R1M0) DTACPR(*YES) OUTPUT(*PRINT)
!!! But before saving, you must initialize tape, here is the sample of command:
INZTAP DEV(TAP01) NEWVOL(BACKUP) NEWOWNID(QSECOFR) CHECK(*NO)
With this SAVOBJ command you do not need specially include members.
This can be done also with FTP, but I think that this is simpler.
Dalibor






