MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Copying the string from a PS file name

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
hari108
Beginner


Joined: 03 Feb 2006
Posts: 16
Topics: 4

PostPosted: Sat Apr 12, 2008 1:40 am    Post subject: Copying the string from a PS file name Reply with quote

Hi,

I have a requirement here...

I need to copy a string from the input file name and append it to the output file name.

e.g.
Input file: PAY.DT03042008093034.FILE
after processing the o/p shld be like this...

Output file: RESULT.DT03042008093034.FILE

I need to copy the time stamp from the input file name which is the middle qualifier in the file name.
_________________
Thanks,
Hari
Back to top
View user's profile Send private message Yahoo Messenger
CraigG
Intermediate


Joined: 02 May 2007
Posts: 202
Topics: 0
Location: Viginia, USA

PostPosted: Sat Apr 12, 2008 10:00 am    Post subject: Reply with quote

I think you have heard this before but "PAY.DT03042008093034.FILE " would not be a valid mvs file name.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group