on 08-14-2010 4:03 PM
Hello Gurus,
We are sending the file from our Quality SAP to other AS400 server but we get an error.
From: SAP Quality as400
To: External server user SAPTEST
The file we are sending is SAP9530001_20100813from folder /usr/sap/Q00/INTERFACES/OUTBOUND/USSD002
Going to
External server user SAPTEST
SAP9530001_20100813 is a STMF format and according to the recipients they are expecting SAVE file that has a stream file in it.
Is there any way we can convert the file to SAV file that has a stream file in it? We used command CPYFRMSTMF but we ran a lot of errors. We just wanted to put the file in the library TESTISMS.
We use this command:
CPYFRMSTMF FROMSTMF('/usr/sap/Q00/INTERFACES/OUTBOUND/USSD002/SAP9530001_20100813') TOMBR('/QSYS.LIB/TESTIMSS.LIB/SAP9530001.file')
but it ended with error:
Owner of object SAP9530001 in TESTISMS type *FILE changed.
Incorrect record for output operation to save file
Object SAP9530001 in TESTISMS type *FILE deleted
Error writing to object.
Stream file not copied.
I would greatly appreciate your help. Thank you so much in advance.
BR,
Eco
Thanks a lot
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If I understand your problem correctly, the following steps should help:
To convert a STMF into a SAVF that has a STMF in it, you must first save the stream file into the save file:
1. CRTSAVF FILE(<lib>/<savf>)
2. SAV DEV('/QSYS.LIB/<lib>.LIB/<savf>.FILE') OBJ('<stmf>')
Now you copy that save file into your outbound directory:
CPYTOSTMF FROMMBR('/QSYS.LIB/<lib>.LIB/<savf>.FILE') TOSTMF('/usr/sap/Q00/INTERFACES/OUTBOUND/USSD002')
Kind regards,
Christian Bartels.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.