Not able to caps-on by default in profile.



TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...

Not able to caps-on by default in profile.

Postby gokulNmf » Sun Jul 22, 2012 9:01 pm

Hi,

I created a PDS like "userid.poc.test.coblib" and added members to it. Its actually a pds for Cobol programs. Now the issue is, the profile has CAPS OFF as default. So every time I want to edit a member in this PDS I deliberately have to give CAPS ON. How to change the profile to have CAPS ON as default? How edit the profile to make it suitable for the USER?

PS: I went to help (F1) and checked, what was given is: The system by itself assume a suitable profile by accessing the PDS name. That's correct, Its having CAPSON by default for PROCLIB, but why its not taking for coblib is little confusing?
Cheers,
Gokul
User avatar
gokulNmf
 
Posts: 118
Joined: Sat Mar 28, 2009 6:41 pm
Location: India
Has thanked: 2 times
Been thanked: 0 time

Re: Not able to caps-on by default in profile.

Postby NicC » Mon Jul 23, 2012 7:35 am

because if your member has even 1 byte of lower case data it switches to caps off. JCL does not allow lower case data except in comments so most proclib members will not have lower case characters hence the caps on stays as caps on. If you want caps on for your source code then makes sure everything, including quoted text, is in upper case. I believe that if you had read further in F1 then you would have found this information.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Re: Not able to caps-on by default in profile.

Postby gokulNmf » Mon Jul 23, 2012 9:36 am

Thanks Nic... was able to identify it and rectified.
Cheers,
Gokul
User avatar
gokulNmf
 
Posts: 118
Joined: Sat Mar 28, 2009 6:41 pm
Location: India
Has thanked: 2 times
Been thanked: 0 time

Re: Not able to caps-on by default in profile.

Postby Monitor » Mon Jul 23, 2012 10:43 am

Just querious : Why do you want to write your COBOL-program(s) in upper-case?
Before the COBOL -85 standard, upper-case was mandatory. Many programmers still think "it has to be upper-case", because many programs are old and thus was written that way, and thats why they go on like that.
Mixed-case makes reading easier, as well as leaving rows empty hera and there.
What if all news-papers were written with upper-case only?
Monitor
 
Posts: 98
Joined: Wed Jan 18, 2012 8:59 pm
Has thanked: 0 time
Been thanked: 7 times


Return to TSO & ISPF

 


  • Related topics
    Replies
    Views
    Last post