getting the fully-qualified DSN-Name from a DD-Definition

General discussion on the JZOS batch launcher and toolkit
Post Reply
andhabl
Posts: 2
Joined: Fri Jul 21, 2006 11:02 am

getting the fully-qualified DSN-Name from a DD-Definition

Post by andhabl »

Hello

I've tried to get the fully qualified DSN-Name from a PDS-DS accessed throug the dd-statement but it seems to be not possible to get the physical name.

dsn='tae.p.oms.test.pds'
//DATA dsn=&dsn

ZFile f = new ZFile("//DD:DATA", "rb");
String name = f.getFileName();

// name always is //DD:DATA

can anybody tell me how i can get the dsn-name

thx

andreas
coz
Posts: 391
Joined: Fri Jul 30, 2004 5:29 pm

Post by coz »

This is not supported in the alphaWorks version of JZOS.
andhabl
Posts: 2
Joined: Fri Jul 21, 2006 11:02 am

Post by andhabl »

thx for the info
Post Reply