IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to retrieve file dictionary details of ADABAS


IBM Mainframe Forums -> Java & MQSeries
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
cooolguyin
Warnings : 1

New User


Joined: 12 May 2005
Posts: 10
Location: NY

PostPosted: Thu Jun 30, 2011 9:03 pm
Reply with quote

Hi,

I need to get all field details including format,length, Abstract of multiple files . I know we have a option to view in Predict by each field. But I need to get the details probably in a dataset for more than 100 fields. Please let me know if there is a way .

Any guidance would be helpful.. Thanks very much
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Jun 30, 2011 10:09 pm
Reply with quote

Hello,

You need to ask the dba. Everything you want is probably already available. . .
Back to top
View user's profile Send private message
cooolguyin
Warnings : 1

New User


Joined: 12 May 2005
Posts: 10
Location: NY

PostPosted: Fri Jul 01, 2011 12:02 am
Reply with quote

Yes I did. DBA ran the job and provided the output. However the output format is not good to get it ftp into excel.

So my question here is in which file predict stores the field name,length etc; including Abstract of field, so that i can write a pgm to query the particular file and get the o/p with desired format
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Jul 01, 2011 12:10 am
Reply with quote

You do not FTP to excel, at most You can FTP to a PC...
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Jul 01, 2011 1:22 am
Reply with quote

Hello,

Suggest you work with the dba to generate a proper delimited output suitable for downloading.

The delimited data will easily import into Excel or some other PC application. . .

Quote:
So my question here is in which file predict stores the field name,length etc; including Abstract of field, so that i can write a pgm to query the particular file and get the o/p with desired format
All of this should be at the fingertips of the dba. . .
Back to top
View user's profile Send private message
cooolguyin
Warnings : 1

New User


Joined: 12 May 2005
Posts: 10
Location: NY

PostPosted: Fri Jul 01, 2011 7:17 pm
Reply with quote

Ok Finally I got the answer for my question. All these details that we see in predict are in SYSDIC-EL file. We can write our own program to get the details in desired format.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Jul 01, 2011 8:20 pm
Reply with quote

Good to hear it is working for you - thank you for letting us know icon_smile.gif

Do keep in mind that providing this type of info is almost always considered part of the dba's work - we have the access and knowledge for the database systems we support (i just don't happen to support Adabas).

d
Back to top
View user's profile Send private message
Ats

New User


Joined: 21 Jul 2010
Posts: 6
Location: Roaming

PostPosted: Mon Jul 04, 2011 12:45 pm
Reply with quote

cooolguyin,

You may also use L V file-name or L DDM ddm-name. This can also be invoked thruough a JCL (no, it cannot - running the right utility can, but jcl cannot) and write output into a dataset, later that dataset can be transfered to PC in a notepad. (ofcourse you need access to use L V or L DDM in batch)
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Java & MQSeries

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top