Can I use Edit macros for this.
Sure, I don't see why not. At least you'll get the ISPF statistics on the member. Or, you can just write them from a program. Or use TSO EDIT. Any way will work.
1) I thought that when I ran REXX in batch I would use normal JCL commands to allocate the files and just use the DDNAME specified in the JCL in my rexx program.
That is exactly the correct method to use in batch. You'll have to provide more details for us to know why it doesn't work the way...
I'd like to see your PKZIP control statements. IIRC, you should be able to select each file by name, and then associate each one to an output dataset.
I'd also be nice to know which version of PKZIP you're running.
The answer is YES to both questions.
I have read in the manuals where you can use TCP/IP socket calls within a COBOL program, so it should be feasible.
On the second part, you literally just call IRXJCL as you would any other sub-routine, i.e. CALL 'IRXJCL' USING REXX-PARM.
SowKan, I don't mean to sound condescending, but have you even bothered to go through the ISPF Dialog development models, particually the PANFORM models? They are a valuable source of information, that you can easily CUT and PASTE into your ISPF libraries, especially when you need to construct a...
According to those error messages, you are running Fujitsu SORT.
According to a manual I found via Google, it appears that you code:
SUM-RECORDS
FIELDS=*NONE
"Out of all the records with identical SORT keys, one record is moved to the output and the rest are eliminated. No summation is...
My reasponse was based on the proper parameters for use with the DFSORT product. What SORT product are you using? I've never heard of some of those parameters (SORT KEYS? INPUT IN? OUTPUT OUT? FIN?)
Tony is on the right track using the ISPF service LMMLIST to obtain a member list. I'm not quite sure the syntax shown is exactly right - check the syntax with the ISPF models and I'm sure it will work:
... LMINIT ...
... LMOPEN ...
"ISPEXEC LMMLIST DATAID(&mypds) OPTION(SAVE) GROUP(ML)...
Use the SET statement to set a variable to the date required, then rename the file:
//JOB (ABC)...,CLASS=T,MSGCLASS=T
//*
// SET THEDATE=022704
//*
//DELETE EXEC PGM=IEFBR14
//FILE1 DD DSN=MYHLQ.NODE2.NODE3.D&THEDATE,
// DISP=(MOD,DELETE,DELETE)
//*
//RENAME EXEC PGM=IEBGENER...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.