Joined: 02 Dec 2002 Posts: 702 Topics: 64 Location: USA
Posted: Thu Nov 06, 2003 1:08 am Post subject:
Hi Mike,
I tried the code related to LISTA. I have a question here, does it pick datasets allocated through a job? To me it looks it doesn't but wanted to confirm.
Joined: 03 Dec 2002 Posts: 114 Topics: 0 Location: Sydney, Australia
Posted: Tue Nov 18, 2003 8:00 pm Post subject:
LISTA is a standard TSO command, that simply lists the datasets allocated to the task/session/job in whihc it is invoked. The code above doesn't invoke any batch jobs.
You can do TSO LISTA from the command line, TSO LISTA ST lists the allocations including the DDNAME, however it's not in the easisest format to then programatically process.
I hope this answers you question. _________________ Regards,
Mike.
Joined: 03 Dec 2002 Posts: 114 Topics: 0 Location: Sydney, Australia
Posted: Mon Nov 24, 2003 4:56 pm Post subject:
Dibkar,
it works fine for me, two seperate ways, one with LISTA ST encoded as the command line, the other by invoking it from a program. Here's the JCL, program and the output from my tests. Perhaps you are somehow supressing the output that is sent to SYSTSPRT.
Invoking the LIST command from a command in the input stream :-
All times are GMT - 5 Hours Goto page Previous1, 2
Page 2 of 2
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum