View previous topic :: View next topic
|
Author |
Message |
Tofik.Momin
New User
Joined: 19 Oct 2010 Posts: 6 Location: Mumbai
|
|
|
|
Hi,
I have requirement in connect direct to download file with date at the starting of file name.
Eg.20101021_Tofik_Momin.TXT.PGP
I have tired lots of things but they are not working, please help me.
Thanks. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
WOW, not working. I wonder why they are not working.
Unfortunately with the amount of useful information that you have given us, it looks as though I will have to wonder why for a long long time.
It doesn't work. A cartload of useful information.
What a stupid requirement - having a variable HLQ. Who thought this one up, the village idiot ?
This means that you will need a catalog alias for every single date that is valid for the data to be downloaded. Bet your sysprogs / storage people will love that
Also, for someone with JCL in their mainframe skills list, surely you would already have known that the notation of the dataset name is invalid.
Now, if you would like to explain the requirement in some detail, then perhaps you may get some help. |
|
Back to top |
|
|
Tofik.Momin
New User
Joined: 19 Oct 2010 Posts: 6 Location: Mumbai
|
|
|
|
Hi,
Actully I want current system date before the name of my downloaded file.
I have tried below...But it not showing error
PRMFTDS1 PROCESS SNODE=BEVNTDG1 PNODE=BEV.MVS -
&DATE=%SUBDATE1 -
&TIME=%SUBTIME
SYMBOL &WHOLFILE=&DSN2 || &DATE..&TIME..&EXT
COPY01 COPY -
FROM (PNODE DSN=&DSN1 DISP=&DISP1) -
TO (SNODE DSN=&WHOLFILE -
DISP=&DISP2) -
COMPRESS |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
When I ask for something to be explained in detail, I do mean in detail.
Perhaps if I waste my time playing 20 questions we might get somewhere.
OK questions 1 and 2 ....................................................
Where does the source file reside. e.g. mainframe, server, PC, blah blah blah
Where will the target reside. e.g. mainframe, server, PC, blah blah blah |
|
Back to top |
|
|
Tofik.Momin
New User
Joined: 19 Oct 2010 Posts: 6 Location: Mumbai
|
|
|
|
Hi,
1.Source file resides in maniframe and created on daily basis.
2.I want output to be downloaded on Server |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
It might be helpful if you would post the output from the NDMCMDS DD of a DMBATCH job. |
|
Back to top |
|
|
Tofik.Momin
New User
Joined: 19 Oct 2010 Posts: 6 Location: Mumbai
|
|
|
|
SHORT TEXT => SCBI050I Invalid keyword found in SUBmit command.
UIERRM1 => PRMFTDS1 PROCESS SNODE SYMBOL= L#= 3
LONG TEXT => When using the SUBmit command only the keywords 'DSN', 'PROC',
'HOLD', 'NEWNAME', 'PNODE', 'PRTY', 'RETAIN', 'SNODE', 'CLASS',
'STARTT', and symbolic parameter values (designated by a '&'
prefix) are valid.
SYSTEM ACTION: Return to invoker with RC=8.
RESPONSE: Reenter your SUBmit command using only the keywords
listed above. Check PROCess statement keywords. |
|
Back to top |
|
|
Tofik.Momin
New User
Joined: 19 Oct 2010 Posts: 6 Location: Mumbai
|
|
|
|
Any one got the answer for this??? |
|
Back to top |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1787 Location: Bloomington, IL
|
|
|
|
Don't use an invalid keyword. |
|
Back to top |
|
|
Tofik.Momin
New User
Joined: 19 Oct 2010 Posts: 6 Location: Mumbai
|
|
|
|
Hi Akatsukami,
it is not accepting || symbol.. |
|
Back to top |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1787 Location: Bloomington, IL
|
|
|
|
Then you'll want to read the Connect:Direct manual and find out what syntax is used to concatenate variables, won't you? |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Previously, there was a post of some Connect:Direct Process code for PRMFTDS1 which, from what I can see, appears to be syntactically OK. I asked the TS to show us what that Process looks like as it's being parsed and interpreted by posting the output of the NDMCMDS DD. I haven't seen that yet. Now, there's a new post for a problem with a SUBMIT command, and the error text seems to be quite clear as to what the problem is. I don't have access to Connect:Direct anymore, so I can't offer much assistance. |
|
Back to top |
|
|
|