I have written the following code in Rexx and have the following queries
1. I have to give OR option in isfprefix so that output can be either on A5482DB1 OR B5482DB1 or both. The following code only giving results for B5482DB1
2. If we need to give many filters, then how do i continue giving filters to next line if the line is full. If we can give different filters at different lines, thats fine.
3. Lets suppose the filer gives me a same jobame 2 or more times. How can i take the latest one or latest 2
4. In Line 21 in below code, what is the name for Date and Time variables to display in output? Again here in Line 21, how to continue giving display variables in second line if the first line is full
000005 Parse Source _sys _how _cmd .
000006 parse arg args
000007 IsfRC = isfcalls("ON")
000008 if IsfRC Â¬= 0 then do
000009 say "isfcalls RC" IsfRC
000012 isfprefix = "A5482DB1 "
000013 isfprefix = "B5482DB1 "
000014 isffilter = "queue = print"
000015 Address SDSF "isfexec st"
000016 if RC Â¬= 0 then do
000017 say "isfexec RC" RC
000020 do ij = 1 to jname.0
000021 say right(ij,2) jname.ij jobid.ij ownerid.ij retcode.ij
000023 call isfcalls "OFF"