ADDRESS USS USSCMD character limit
search cancel

ADDRESS USS USSCMD character limit

book

Article ID: 242405

calendar_today

Updated On:

Products

OPS/MVS Event Management & Automation

Issue/Introduction

The documentation says the limit of command length is 2K. On our production sysplex, the limit seems to be 1K. This is important to us because the process is running a CURL command and is passing a JSON Web Token. That token is > 900 bytes in length. This occurs on our production sysplex but is ok on our test sysplex. Where should I look to find this limit specified?

Environment

Release : 13.5

Component : OPS/MVS

Cause

This issue can be caused if the USSPROC STC JCL has been carried forward from a prior release. When this occurs, the USSCMIN DD statement in USSPROC may have an LRECL coded which is insufficient for USSCMD commands approaching 2K in length resulting in USSCMD command truncation.

Resolution

Ensure that the USSCMIN DD statement is coded as follows in the USSPROC STC JCL:

USSCMIN  DD SUBSYS=&SSID,DISP=SHR,DSN=SYS1.OPS.USSCMIN,   
            DCB=(RECFM=V,LRECL=2052,BLKSIZE=2056,DSORG=PS)