Hi Ram - a file may exist on DASD or tape. You may move from one to the other with a simple copy operation. You simply express your wises as to the target device type on the output DD statement of the copy step. Normally, you do not know (or care) what the input device may be.
In other words, you need not -convert- a file from tape to DASD. You would simply -copy- a file from whatever to whatever. Do I understand your issue? -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Ram Balaji Sent: Wednesday, January 07, 2009 12:16 PM To: [email protected] Subject: JCL Logics involving TAPE and Normal File Hi all, I have an urgent requirement. Can anyone help me? Requirement: I need to prepare a JCL to perform the following task 1)I have a GDG base say xxx.xxx whose versions might be generated in "TAPE or DASD" 2)I have to prepare a JCL - Which will just copy the GDG Version to a Flat file if the attribute is DASD - If the GDG Version is TAPE the jcl should conver it to DASD and copy the converted DASD to a Flat file. Is this possible using JCL...? Regards, Ram Balaji.S. (Sorry for my English) ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information. Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

