View previous topic :: View next topic
|
Author |
Message |
rajesh.ramadoss
New User
Joined: 18 Feb 2009 Posts: 3 Location: Chennai
|
|
|
|
I want to use lower case characters and underscore in SET variables in JCL. At present its converting to upper case by default during execution.
My objective is, JCL variable should contain unix filenames and path. Using files to store the values won't be useful, because the values are derived from other variables as well (partly) during execution. For example -
// SET ENV='test'
// SET TYPE='strong03'
//FTP3 EXEC PROC=FTP,FILIN=FIL.&ENV..&TYPE..OK
Thank you,
Rajesh |
|
Back to top |
|
|
Gnanas N
Active Member
Joined: 06 Sep 2007 Posts: 792 Location: Chennai, India
|
|
|
|
Try CAPS OFF |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Doing some searches on IBM'S web site indicates that the TSO SUBMIT command by default changes lower case to upper case but your systems support group can change this behavior. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
No, there's a bigger problem. The lower-case characters will cause a JCL error, and enclosing them in quotes negates the variable substitution. Don't have a possible solution yet ... |
|
Back to top |
|
|
rajesh.ramadoss
New User
Joined: 18 Feb 2009 Posts: 3 Location: Chennai
|
|
|
|
Thanks, Robert.
Can you please tell me where this need to be updated and its impact on other aspects.
Thanks in advance,
Rajesh |
|
Back to top |
|
|
rajesh.ramadoss
New User
Joined: 18 Feb 2009 Posts: 3 Location: Chennai
|
|
|
|
Thanks, Super.
Actually, without the quotes, it errored and when given within quotes, it accpets it but its converted to upper case.
Please post any updates or alternate approaches, and out of box alternatives for the situation.
Thank you,
Rajesh |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
You might use CAPS for the unix directories/file names. . . |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Try running FTP as a program, not a PROC, and specify a DD statement with the PATH statement to point to your Unix file name. If that works, you'll know the problem is with the SET and / or PROC part of the job. And I believe I have used DD statements with PATH to transfer files (lower case name files even) from Unix to another system, although I don't have access to my system tonight to confirm that. |
|
Back to top |
|
|
|