|
Rob Berendt wrote on 23/10/2006 01:51:22 PM:
Something weird for sure. When I hit F1 on SBMJOB, while in the CMD
field
I see command-string Specify the command that is run in the batch job. The command cannot be
longer than 20,000 characters.
I see the same thing, V5R3.
But I am at V5R4. Your help different? How big are the fields defined on: 1 - the program doing the SBMJOB
dcl var(&fileDir) type(*CHAR) LEN(32000) dcl var(&backupDir) type(*CHAR) LEN(32000) -- I realize I'm also going to run into the 20,000 limit here, aside from the apparent 5000 limit on parameters. I could go and redefine my parameters everywhere, but that's going to be a bit of a pain, which is why I asked in the first place.
2 - The QCMDSRC member?
DSM131: CMD PROMPT('Start reefer data processing') PARM KWD(POLLDIR) TYPE(*CHAR) len(32000) MIN(1) + PROMPT('Directory to poll') PARM KWD(BACKDIR) TYPE(*CHAR) len(32000) MIN(1) + PROMPT('Dir to store finished files')
3 - The CPP called by the QCMDSRC member?
D DSR131... D PI D dirPath... D 32000A D backupDir... D 32000A If I do ?DSM131, everything is hunky-dory. The problem only seems to come up when I use SBMJOB, but SBMJOB is the only way to submit something to batch that I know of.... I'm stumped! ##################################################################################### Attention: The above message and/or attachment(s) is private and confidential and is intended only for the people for which it is addressed. If you are not named in the address fields, ignore the contents and delete all the material. Thank you. Have a nice day. For more information on email virus scanning, security and content management, please contact administrator@xxxxxxxxxxxx #####################################################################################
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.