On Tue, 12 Jun 2007 11:21:25 -0500, Kenneth E Tomiak <[EMAIL PROTECTED]> wrote:
>Hiding the evidence? I did some testing with three versions, they only fail >when I use SDSF to submit the command and use lowercase characters: > >/s ktomiak1,file='some.dataset.name',mem='proctst1' > >SDSF did not fold the variable contents into uppercase. Other than PARM and >PATH* statements, JCL does not comprehend lower case. > Usage of apostrophes in dataset names in JCL is not the same as in TSO. Read manual 'MVS System command reference' about usage of lowercase in MVS commands: Unless enclosed in apostrophes, lowercase letters are converted to uppercase. If you enter /s ktomiak1,file='some.dataset.name' then lowercase chars are correctly passed to JCL. After JCL substitution, DD statement becomes ... DSNAME=some.dataset.name (lowercase) and you get JCL error (UNIDENTIFIABLE CHARACTER s ON THE DD STATEMENT). Dataset names in JCL can contain lowercase, blanks and special characters. Such nonstandard dataset name must be enclosed in apostrophes, dataset cannot be cataloged and SMS must be inactive. Read about DSNAME in JCL Reference. If you enter /s ktomiak1,file='''some.dataset.name''' (each apostrophe is trippled), then after JCL substitution DD statement becomes ... DSNAME='some.dataset.name' (lowercase enclosed in single apostrophes) and this is valid syntax. You get JCL error (data set not found), because dataset is not searched in catalog and VOLSER is not supplied. Tomas ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

