Using Create Service Order received Message stating I need to run the software inventory with the parameter specified, 'INVENTORY=ALL'.
After running the GIMXSID job to create software inventory data I used the following “Receive File From Host”
function under the Actions tab in PCOMM, the emulator we use for terminal sessions.
What I discovered however is that the file transfer was adding a character at the end of the file. When I uploaded the downloaded file to Broadcom to create a service order, the process failed when it attempted to read the inventory file. I had to edit the file and delete the [] character the transfer added at the end of the file before uploading it to Broadcom. Once I did that I was able to Create Service Order without an issue. Also transferring the file from the mainframe to the PC as binary will cause this Invalid inventory file format failure.
Release : 6.0
The cause is a rectangle symbol at the end of the report:
<id>XC90081</id>
<id>YC90081</id>
</ptfList>
</gimxsidSwInventory>
[]
This is known to be caused by command :
This was recreated it with the IND$FILE GET 'HLQ.GIMXSID.OUTPUT' ASCII CRLF:
Invalid inventory file format. Please update your GIMXSID JCL to include PARM='INVENTORY=ALL' on the exec statement
End of file before transfer from mainframe to PC:
000887 <id>T7M8692</id>
000888 <id>T7M8694</id>
000889 <id>T7M8695</id>
000890 <id>ZXE6108</id>
000891 </ptfList>
000892 </gimxsidSwInventory>
========================
End of file: after transfer to PC:
<id>T7M8695</id>
<id>ZXE6108</id>
</ptfList>
</gimxsidSwInventory>
Removing the CLRF is also an option to avoid this.
To correct this erase the [] symbol and retry and if the file was not FTP'ed or transferred to the PC as ascii please re-FTP or transfer the file as ascii because it an XML text file.