Try this: RQSDTA('CALL SPK100CL PARM(/home/spoke/callups/new/France /home/spoke/callups/extracted/France)') Dave
Unconfigured Ad Widget
Collapse
Announcement
Collapse
No announcement yet.
Parameters within a job description request data
Collapse
X
-
Parameters within a job description request data
There is also the possiblility that the parameters are simply too long. From V1R1 forward, CL has always had a problem when a parameter was greater than 33 characters in length. It would interesting to call the program and dump the CL to see what the values are. Dave
Comment
-
Parameters within a job description request data
I'm setting up a subsystem which has a set of autostart jobs defined for it. One of these jobs needs to call a program with 2 parameters. I've managed to figure out how to call the program, but I am struggling to configure the job description correctly. If I debug the job when it is running, neither parameter contains the correct value. The job description is as follows; RQSDTA('CALL SPK100CL PARM(''/home/spoke/callups/new/France'' ''/home/spoke/callups/extracted/France'')') I have tried removing the quotes in various combinations with no success. However, if I only pass the first parameter surrounded by single quotes ('), all works ok. How should I format the parms? Thanks in advance
Comment
-
Parameters within a job description request data
S K Shipp wrote: > > > Try this: > > > > RQSDTA('CALL SPK100CL PARM(/home/spoke/callups/new/France /home/spoke/callups/extracted/France)') > Hi Dave, > > I tried that and it joblogged with an 'Expression not allowed for parameter Parm' error. > > I always thought character parms needed to be included in single quotes to work Character parms don't always need to be included in single quotes, but they do if they contain characters like / or spaces. Try the following - it would get around the "expression not allowed" problem. I don't know if there would also be a length problem... RQSDTA('CALL SPK100CL PARM(''/home/spoke/callups/new/France'' ''/home/spoke/callups/extracted/France'')')
Comment
Comment