Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

IND$FILE Mainframe to PC - new file extension needed

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: IND$FILE Mainframe to PC - new file extension needed
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Thu Nov 01, 2012 3:32 am    Post subject: Reply to: IND$FILE Mainframe to PC - new file extension need
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

http://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

Active Member


Joined: 07 Feb 2009
Posts: 984
Location: Oostende, Belgium

PostPosted: Thu Nov 01, 2012 2:42 pm    Post subject:
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    Post subject: Reply to: IND$FILE Mainframe to PC - new file extension need
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    Post subject: Reply to: IND$FILE Mainframe to PC - new file extension need
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Thu Nov 01, 2012 8:15 pm    Post subject: Reply to: IND$FILE Mainframe to PC - new file extension need
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: 1738
Location: Bloomington, IL

PostPosted: Thu Nov 01, 2012 8:55 pm    Post subject:
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    Post subject: Reply to: IND$FILE Mainframe to PC - new file extension need
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

Site Director


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

PostPosted: Mon Nov 05, 2012 6:11 am    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Mon Nov 05, 2012 3:55 pm    Post subject: Reply to: IND$FILE Mainframe to PC - new file extension need
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: 642
Location: Whitby, ON, Canada

PostPosted: Mon Nov 05, 2012 6:38 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
This topic is locked: you cannot edit posts or make replies. Urgent Mainframe Requirments (2-10 yr... Shankar779 Mainframe Jobs 0 Sun Nov 27, 2016 1:48 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm
No new posts CICS Roll back partially - Need to re... dwijadas CICS 4 Wed Nov 16, 2016 4:30 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us