View previous topic :: View next topic
|
Author |
Message |
dbapratap
New User
Joined: 14 Jan 2012 Posts: 4 Location: United State of America
|
|
|
|
Hi,
I am new to CLIST and working on a tool where i have the floowing control job for the penal i.e.
PROC 0
ISPEXEC VGET (OPT2) PROFILE
SUBMIT * END(NN)
//ABCD1200 JOB(00000000TS,W777),'CPBD1200',NOTIFY=&SYSUID,TIME=(0,5),
// REGION=0M,MSGCLASS=H
//*
//PROCLIB JCLLIB ORDER=(ABC.PROC.PROCLIB)
//*
//ABCD1200 EXEC ABCD1200,
// SOUTP=*,
// SOUTH=*
// PARM.STEP010='/unixsy01 /ABC/DE/efg/scripts/ph1.sh 1000'
//STEP005.IN DD DSN=ABC000.DATA1.T01
//STEP005.SYSIN DD DSN=ABC000.DATA1.PARMLIB(ABCFCHK2)
//STEP010.NETRC DD DSN=ABC000.DATA1.PARMLIB(ABCFTP)
//*
NN
ISPEXEC REMPOP
EXEC 'ABC000.DATA1.TEST(XYZ01)'
END
My problem is that when i submit job from the penal all the character are used in the job are converted into CAPS. But i need PARM.STEP010='/unixsy01 /ABC/DE/efg/scripts/ph1.sh 1000' as is, because the unix script written in this manner and if this changed to CAPS, it wont communicate to UNIX server.
I tried with
1.CAPS/ASIS/NOCAPS operand on the CONTROL statement
2.&SYSASIS control variable, or the &SYSLC and &SYSCAPS built-in functions
but i am not exactly find where i am really missing.
Let me know if you people need any information from my end. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
The TSO SUBMIT command converts all of the data to upper-case. Always has, probably always will. I can't understand why you're not already aware of that fact, since it's clearly documented here. Anyway, you'll need to use some other method to submit your JCL if you want to keep the lower-case text intact. |
|
Back to top |
|
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
|
|
You could get more help if you were learning REXX instead of CLIST.
Can you show us in the procedure how the PARM parameter is used ?
btw,
REMPOP have a meaning only if there is an ADDPOP before, otherwise it is useless.
The VGET has a meaning only if you actually use the value received... |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
Quote: |
you'll need to use some other method to submit your JCL |
Write the JCL to a dataset and then SUBMIT the dataset. |
|
Back to top |
|
|
dbapratap
New User
Joined: 14 Jan 2012 Posts: 4 Location: United State of America
|
|
|
|
Hi Kevin,
can you please suggest me some other method for submitting the job. |
|
Back to top |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 Location: Bloomington, IL
|
|
|
|
superk wrote: |
The TSO SUBMIT command converts all of the data to upper-case. Always has, probably always will. |
Perhaps it is due to some locally-written exit, but that seems not to be the case here. |
|
Back to top |
|
|
dbapratap
New User
Joined: 14 Jan 2012 Posts: 4 Location: United State of America
|
|
|
|
Hi Marso,
Here is the proc:
//ABCD1100 PROC SOUTH=H, SYSOUT CLASS H (SYSUDUMP)
// SOUTP=P SYSOUT CLASS P (STAGING)
//*
//STEP005 EXEC PGM=IDCAMS
//IN DD DSN=ABC.ABCD&JOBNUM1..T1,
// DISP=SHR
//SYSOUT DD SYSOUT=&SOUTP
//SYSPRINT DD SYSOUT=&SOUTP
//SYSIN DD DSN=ANC.PROD.PARMLIB(ABCFCHK2), <<check if file
// DISP=SHR is empty
//*
// IF (STEP005.RC EQ 0) THEN
//STEP010 EXEC PGM=REXEC,
// PARM='/unixsp01 /anc/scripts/ph1.sh &JOBNUM1'
//*
//NETRC DD DSN=xxx.PROD.FTP.PARMLIB(ABCFTPP1),DISP=SHR
//*
//SYSPRINT DD SYSOUT=&SOUTP
//*
as you told :
1.REMPOP have a meaning only if there is an ADDPOP before, otherwise it is useless.
Yes i am using diff POP up penals for running different jobs.
2.The VGET has a meaning only if you actually use the value received.
I need to get the profile of the another penal, so i am using VGET.
Let me know if you have anything there in your mind,your suggestion is welcome. |
|
Back to top |
|
|
dbapratap
New User
Joined: 14 Jan 2012 Posts: 4 Location: United State of America
|
|
|
|
I tried with submitting the job in different method, where one jcl calling another jcl i.e.
//STEP010 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DISP=SHR,DSN=CI111.xx.T3er(CABC1111)
//SYSUT2 DD SYSOUT=*
//SYSIN DD DUMMY
//*
But my 2nd jcl which is having path to UNIX server, is not able to connect.
Any suggestion? |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
Quote: |
is not able to connect. |
You did not provide enough details. |
|
Back to top |
|
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
|
|
Can you modify the REXEC program so it gets the parameter from a file (instead of getting it from PARM=) ? |
|
Back to top |
|
|
|