IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Using lower case characters and underscore in JCL variables


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rajesh.ramadoss

New User


Joined: 18 Feb 2009
Posts: 3
Location: Chennai

PostPosted: Wed Feb 18, 2009 5:36 pm
Reply with quote

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
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Wed Feb 18, 2009 5:53 pm
Reply with quote

Try CAPS OFF
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Feb 18, 2009 5:58 pm
Reply with quote

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
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Wed Feb 18, 2009 5:59 pm
Reply with quote

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
View user's profile Send private message
rajesh.ramadoss

New User


Joined: 18 Feb 2009
Posts: 3
Location: Chennai

PostPosted: Wed Feb 18, 2009 6:11 pm
Reply with quote

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
View user's profile Send private message
rajesh.ramadoss

New User


Joined: 18 Feb 2009
Posts: 3
Location: Chennai

PostPosted: Wed Feb 18, 2009 6:14 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Wed Feb 18, 2009 9:59 pm
Reply with quote

Hello,

You might use CAPS for the unix directories/file names. . .
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Feb 19, 2009 5:38 am
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts Substring number between 2 characters... DFSORT/ICETOOL 2
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
No new posts Underscore was not populated to onlin... CICS 1
No new posts Zunit Test case editor error Testing & Performance 4
Search our Forums:

Back to Top