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

IND$FILE Mainframe to PC - new file extension needed


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
elisacriden

New User


Joined: 27 May 2008
Posts: 4
Location: Tampa, FL

PostPosted: Thu Nov 01, 2012 3:19 am
Reply with quote

I am using IND$FILE to do a batch transfer from a mainframe pds (many members) to my PC. I can successfully send all the members from my PDS to a folder on my PC, but the filename on the PC has no file extension. I want the file extension on the PC files to be named *.txt. I cannot figure out how to do this. My emulator software is Reflection Workspace 2011.
Example:

on mainframe:
AAA.BBB(mem1)
AAA.BBB(mem2)

after sending to PC the file names are:
mem1
mem2

But I really want them to be named:
mem1.txt
mem2.txt

Thanks for your help!
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Nov 01, 2012 3:32 am
Reply with quote

I am not an Attachmate/Reflection user ,
( IBM PCOMM can do it, no reason for Attachmate/Reflection not to be able to do the same )

so I got curious and ....

just googling for reflection workspace 2011 ind$file

got this link

docs.attachmate.com/reflection/2011/r3/tshelp/en/user-html/

where You can learn Yourself about the file transfer templates

odd that You could not find anything by Yourself and felt the need to ask icon_cool.gif
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Thu Nov 01, 2012 2:42 pm
Reply with quote

And it's too hard to send them all to a single directory and then do a "ren * *.txt" in a CMD window?
Back to top
View user's profile Send private message
elisacriden

New User


Joined: 27 May 2008
Posts: 4
Location: Tampa, FL

PostPosted: Thu Nov 01, 2012 6:43 pm
Reply with quote

Why thank you for the warm welcome. I appreciate your help. I did search for an answer but nothing I tried worked. I will attempt to use the instructions in the link you provided. And being a mainframe developer (20+ years) I am not as verse in DOS commands as you are, so again, thank you so much for providing me with this command. I'll let you all know if that link and/or command were successful.
Back to top
View user's profile Send private message
elisacriden

New User


Joined: 27 May 2008
Posts: 4
Location: Tampa, FL

PostPosted: Thu Nov 01, 2012 8:01 pm
Reply with quote

enrico-sorichetti - thanks for the link but unfortunately it did not provide the information I needed. Although there were directions on how to accomplish what I need done, my software does not match what is discussed. Perhaps my company has not installed this option.

Prino - this worked like a charm. Thank you! And happy hitch hiking to you.

Elisa
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Nov 01, 2012 8:15 pm
Reply with quote

Quote:
thanks for the link but unfortunately it did not provide the information I needed.


the link provided exactly what You asked for... icon_evil.gif

file transfer templating is present in all the 3270 emulators who provide IND$FILE
capabilities ...
even the cheap but very good Tom Brennan VISTA 3270 does it, about 30 $
ZOC about 50 $ does it ..
without any added costs
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Thu Nov 01, 2012 8:55 pm
Reply with quote

Elisa-chan, I have been a mainframe developer for 35 years, and there are many on this board (including but not limited to Dr. Sorichetti) whose experience equals to exceeds mine. Nonetheless, we are not helpless when it comes to something other than System z; clicking on the "Index" tab on that link, and scrolling down to "Transfer", shows entries that may be of use to you, including "IND$FILE" and "mainframe file transfer", with sub-topic "Receive Files from a Mainframe".
Back to top
View user's profile Send private message
elisacriden

New User


Joined: 27 May 2008
Posts: 4
Location: Tampa, FL

PostPosted: Mon Nov 05, 2012 5:55 am
Reply with quote

Goodness, I didn't mean to start a war here. All I was doing was asking for a little help. I've been a member on this list for some time, and have found it useful. Up until now I have not found the need to ask for any assistance from any of you. And truly, I did read everything on the provided link (and again just now), and there is nothing that tells me or even hints to me that I can rename the file on the receiving end when doing a batch transfer.

Why so harsh? If you are not here to help people then why do you even allow people to ask questions? If you don't want to help then don't respond and you won't be bothered. The old saying "if you don't have anything nice to say...." applies on the internet too.

Sometimes brilliant people (icon_evil.gif) forget that not everyone is brilliant - and they become annoyed with, in their opinion, less than brilliant questions. icon_rolleyes.gif
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: Mon Nov 05, 2012 6:11 am
Reply with quote

Hello Elisa and welcome to the forum,

Quote:
Why so harsh? If you are not here to help people then why do you even allow people to ask questions? If you don't want to help then don't respond and you won't be bothered. The old saying "if you don't have anything nice to say...." applies on the internet too.

I'd say that all of the "seniors" here are here to help. Sometimes the replies are "harsh". That's just people. One of our previous moderators sometmes reminded me that i was a bit testy on days when i was "harsh".

Don't take it too peraonal - had someone else had the same dialog, they too would most likely have seen some flames. Take the good you get from our forums and disregard inconsiderate replies. Mentioning them most often only drags the issue on and on. . .
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Nov 05, 2012 3:55 pm
Reply with quote

Quote:
and there is nothing that tells me or even hints to me that I can rename the file on the receiving end when doing a batch transfer.


stop whining, please, the quality of the answers depends on the quality of the questions

our replies answered fully You first question ...
how to add a suffix to a file downloaded from the mainframe

from the link I posted
Quote:
File transfer templates are available when the transfer protocol is set to Mainframe. These templates define a set of conditions that affect the way Reflection names files transferred between your Windows computer and a host. Unlike transfer request files, which are used to transfer the same file or set of files between your computer and a host, file transfer templates affect the how all files transferred between your computer and the host are named. You can create multiple conditions for Reflection to step through until it finds the first one that is applicable.

With file transfer templates, for example, you can send all local files with the extension .EXE to the host, and give them the extension .EXEC.

suddenly You started complaining about not being able to rename while downloading...
and that' s different from what was asked from the beginning

so You have no right to complain about the answers You receive.
Back to top
View user's profile Send private message
don.leahy

Active Member


Joined: 06 Jul 2010
Posts: 765
Location: Whitby, ON, Canada

PostPosted: Mon Nov 05, 2012 6:38 pm
Reply with quote

All this angst over IND$FILE prompts me to put in my usual plug for ISPF Workstation Agent. Search the forums for "WSA"
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 -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
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
No new posts Mainframe openings in Techmahnidra fo... Mainframe Jobs 0
Search our Forums:

Back to Top