Parmstring to be executed if the command parmstring is more than 100 Use PARMDD specifying the ddname of a data set containing the command Update: As points out in a comment, the PARMDD DD can be used. Then read the flat file into your Rexx program, each record representing one of your parameters. Presupposing the capability of writing a parm to a flat file, you could invoke it once for each of your parameters, MODding the result to a flat file. Syncsort (and perhaps DFSORT) have the capability to write a parm to an output file, so you could also go that route. I suggest you create such a program, if your shop does not already have one (and please do check before writing your own). See this answer for an example of how it was used. Ours happened to be Assembler, but it could have been COBOL, PL/I, or Rexx. One place I worked had a generic program that would write whatever was passed in PARM value to a flat file. As far as I know, Rexx is not an LE-enabled language. LE languages would be Assembler (certain caveats apply), and modern versions of COBOL and PL/I. For historic reasons, the PARM field is limited to 100 bytes, however this limit is increased to 32K for LE (Language Environment) enabled applications that are willing to call the CEE3PR2 LE callable service.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |