Home > Archive > Cobol > January 2007 > [OT] IBM Mainframe - Batch Job to Generate Data Set List?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
[OT] IBM Mainframe - Batch Job to Generate Data Set List?
|
|
|
|
All righty... this is for Big Blue Big Iron folks. Years ago I learned
how to invoke SuperC in a batch job so I can do simple things like search
a dataset for character strings or compare two datasets; the program
invoked is ISRSUPC and the skeleton for using it was generated by using
the Batch execution mode found at the bottom of the screen in options 3.12
and 3.14.
Now... option 3.4 is the Data Set List Utility; a 'P' on the command line
will cause the listing for the Dsname Level specified to go to the user's
allocated listing dataset (at this installation USERID.SYS4.SPFn.LIST,
where 'n' gets incremented if one chooses one of the Keep Data set options
on the Specify Disposition of List Data Set panel one is shown before
logging off).
Is there a way, then, that I might look to find an ability to
manipulate... whatever it is that generates this list by a batch job,
similar to ISRSUPC, so that I can put this listing into a dataset and
manipulate it without saving my current SPFn.LIST (which I usually
delete), logging off and logging on to free up said LIST from my current
session?
Thanks much!
DD
| |
| Andreas Lerch 2007-01-26, 6:55 pm |
|
?? Urspr=FCngliche Nachricht
Am 26.01.07, 16:39:58, schrieb docdwarf@panix.com () zum Thema [OT]=20
IBM Mainframe - Batch Job to Generate Data Set List?:
> logging off and logging on to free up said LIST from my current
> session?
Use command: LIST KEEP and you can rename the dataset
and LIST DELETE to delete it immediately :-)
Einen schoenen Tag
Andreas Lerch
| |
|
| In article <20070126.18395253@rechner12.lerch.xl>,
Andreas Lerch <andreas@andreas-lerch.de> wrote:
>
>
>?? Ursprüngliche Nachricht
>
>Am 26.01.07, 16:39:58, schrieb docdwarf@panix.com () zum Thema [OT]
>IBM Mainframe - Batch Job to Generate Data Set List?:
>
>
>Use command: LIST KEEP and you can rename the dataset
Thanks much... much better than logging off, sure! If anyone can tell me
where to find out about batch manipulation, though, I'd still greatly
appreciate it.
DD
| |
|
| docdwarf@panix.com wrote:
> In article <20070126.18395253@rechner12.lerch.xl>,
> Andreas Lerch <andreas@andreas-lerch.de> wrote:
>=20
> Thanks much... much better than logging off, sure! If anyone can tell =
me=20
> where to find out about batch manipulation, though, I'd still greatly=20
> appreciate it.
While I have not done this for a very long time, I know you can write=20
REXX commands, called by ISPF Edit, that will execute from the Edit=20
Command Line. If you execute ISPF Edit as a batch operation, you should =
be able to run these same commands in that environment. Certainly, you=20
do have to carefully keep track of the cursor position so the commands=20
will do what you expect. And, that is not always easy. But, should=20
work if your processing is not too complex.
Again, I have not done this for a long time [about 13 years] but I=20
believe it should be possible.
Carl
| |
|
| In article <6287f$45babdc4$d066072d$5569@FUSE.NET>,
CG <Carl.Gehr.ButNoSPAMStuff@MCGCG.Com> wrote:
>docdwarf@panix.com wrote:
[snip]
[color=darkred]
>While I have not done this for a very long time, I know you can write
>REXX commands, called by ISPF Edit, that will execute from the Edit
>Command Line.
Thanks much!
[snip]
>Again, I have not done this for a long time [about 13 years] but I
>believe it should be possible.
[WARNING!! DIALECT ALERT! WARNING!!]
[What follows is an attempt to reproduce the speech sounds and patterns of
a particular subset of American English. Some people find attempts to
depict dialects such as this to be offensive; if you are among then then
it might be best to skip this.]
[DIALECT HUMOR ALERT!! YOU HAVE BEEN WARNED!!]
Reminds me of the Old Southern Joke, usually told by an Old Southern Man:
'I was walkin' thru the town t'other day an' I saw a boy, settin' on the
curb, cryin' and cryin', jes' cryin' his heart out. I asks him, 'What's
the matter, son?', an' he gits his breath, a-heavin' an' sobbin', an says
'I'm , Mister.' I says 'Well, ain't much I seen a boy weep like that
fer bein' happy, what're y' about?'
'He says 'I'm b'cause I cain't do what th' big boys do.'... an' I
thought about it fer a minute an' then I set m'self right down next t'him
an' started cryin', too.'
DD
|
|
|
|
|