IBM MAINFRAME HELP & SUPPORT FORUMS
Technical Forums for IBM Mainframe Applications like COBOL, JCL, CICS, DB2, FileAid, DFSORT, Endevor, Xpediter, CoolGen, CA-7&11, AbendAid, IMS, IDMS, PL/I, MqSeries, SyncSort, Assembler, ChangeMan, Easytrieve, InterTest, REXX, CLIST etc...
 

Getting dsn name from Panel

THIS IS AN ARCHIVE FORUM: CLICK HERE TO GO TO THE ORIGINAL TOPIC

 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> TSO/ISPF
View previous topic :: View next topic  
Author Message
rexx77



Joined: 14 Apr 2008
Posts: 18
Location: Mysore

Posted: Sat Aug 23, 2008 4:35 pm    Post subject: Getting dsn name from Panel  

HI,

I am developing small tool to backup datset by typing BKP infront of the DSN. I have a small doubt regarding how to fetch the DSN name which got displayed in 3.4 option. i.e.
ex:

BKP ABC.BCD.XER.DFG
ABC.BCD.XYZ.MNO

how i can get the dataset name after BKP?

Thanks
Back to top  
enrico-sorichetti



Joined: 14 Mar 2007
Posts: 3168
Location: italy

Posted: Sat Aug 23, 2008 5:05 pm    Post subject: Reply to: Getting dsn name from Panel  

what about showing a bit of ingenuity...
rexx script to find out what happens in 3.4
Code: /*rexx */
Trace "O"
parse arg args
say args
exit

save it in Your sysproc/sysexec concatenation under a name of Your choice
and see what happens when You type it as a line command in 3.4
Back to top  
expat



Joined: 14 Mar 2007
Posts: 3544
Location: Brussels once more ...

Posted: Sat Aug 23, 2008 5:33 pm    Post subject:  

Dare I ask why not use the backup facilities of you ILM software.
Back to top  
rexx77



Joined: 14 Apr 2008
Posts: 18
Location: Mysore

Posted: Sat Aug 23, 2008 6:25 pm    Post subject:  

Thanks enrico sorichetti. it is working.

Quote:
Dare I ask why not use the backup facilities of you ILM software.



wanted to create a customised backup tool.
Back to top  
 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> TSO/ISPF
Page 1 of 1
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM