Midrange News for the IBM i Community


Posted by: Chris Proctor
Programmer Analyst
Columbia Sports Company
Portland, OR
Parameter issue
has no ratings.
Published: 19 Mar 2015
Revised: 20 Mar 2015 - 1434 days ago
Last viewed on: 19 Feb 2019 (2311 views) 

Using IBM i? Need to create Excel, CSV, HTML, JSON, PDF, SPOOL reports? Learn more about the fastest and least expensive tool for the job: SQL iQuery.

Parameter issue Published by: Chris Proctor on 19 Mar 2015 view comments(5)

Good morning. I thought I've seen a post on this, but can't find it. I have a program where I am passing 11 parms to it. Ten of the parms are 75A in length. From a command line, if I call the program without all 75 characters I'm seeing more than one of the parms in a single parm field. Is there any way around this? I'm thinking that all 75 chars have to been entered (blank fill) for each parm. Here's a snippet of code and a parm field in debug:

ddropSprocs pr extpgm('DROPSPROC')

d plib 10a

d psproc1 75a

d psproc2 75a options(*nopass)

d psproc3 75a options(*nopass)

 

....5...10...15...20...25...30...35...40...45...50...55...60

1 'spasnitmi spasnordi '

61 ' '

 

Thanks!

Chris

Return to midrangenews.com home page.
Sort Ascend | Descend

COMMENTS