View previous topic :: View next topic
|
Author |
Message |
Naraismha Reddy
New User
Joined: 23 Apr 2008 Posts: 39 Location: Hyderabad
|
|
|
|
Hi,
I need to code a jcl with the following requirement.
1) I will recive some 300 files a day with the following format
PRDAP.#AID.DEbbSMPL.Eaaant.Dyymmdd
Where bb --> CA/CB/DA/DB
aaa --> org number (000 to 999)
t --> file type E/P
n --> file number ( 0 to 9)
yymmdd --> date
sample datasets look like
PRDAP.#AID.DECASMPL.E0011E.D081226
PRDAP.#AID.DECASMPL.E0011E.D090130
PRDAP.#AID.DEDASMPL.E0011P.D081226
PRDAP.#AID.DEDASMPL.E0011P.D090130
FOR the above format only date is fixed i.e. i know only the date.
Now i need to code a jcl where i need to search all the file of this format and write it to a file as input for the next step for some validations.
Here the number of files received may be 100 or 150 or 300.
Could anyone please suggest any ideas for this .
Thanks,
Narasimha |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Please search the forum, because you may have found THIS topic which solves your problem. |
|
Back to top |
|
|
Naraismha Reddy
New User
Joined: 23 Apr 2008 Posts: 39 Location: Hyderabad
|
|
|
|
I tried searching for the related topic but I couldn't find any relative answer in the forum.
Could any one please help me in providing idea. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
in expat's post, try clicking on 'THIS', there. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Are you being serious ???
Did you click the thread I indicated above.
If you did, and could not find the solution to your problem with the code that I had posted, you should be stuck in a pot and watered twice a week |
|
Back to top |
|
|
|