I have a job which is passing 64 values as parameter to a focus program.
Now I have to put it into production it. So I have to make a seperate job and have to call a proc and I have to pass parameter to program, through the proc. Can anybody suggest the right way to do it?
Hi Dick,
tnx for ur response, i am posting the sisin card here..
//SYSOUT DD SYSOUT=A
//SYSIN DD *
EX ZZZVAA
072006,082006,092006,102006,112006,122006,012007,022007,
032007,042007,052007,062007,072007,082007,092007,102007,
NWREGN,NWREGN.
EX ZZZVAA 072006,082006,092006,102006,112006,122006,012007,022007,
032007,042007,052007,062007,072007,082007,092007,102007,
SWREGN,SWREGN.
EX ZZZVAA 072006,082006,092006,102006,112006,122006,012007,022007,
032007,042007,052007,062007,072007,082007,092007,102007,
MWREGN,MWREGN.
EX ZZZVAA 072006,082006,092006,102006,112006,122006,012007,022007,
032007,042007,052007,062007,072007,082007,092007,102007,
SOREGN,SOREGN.
EX ZZZVAA 072006,082006,092006,102006,112006,122006,012007,022007,
032007,042007,052007,062007,072007,082007,092007,102007,
NEREGN,NEREGN.
EX ZZZVAA 072006,082006,092006,102006,112006,122006,012007,022007,
032007,042007,052007,062007,072007,082007,092007,102007,
SEREGN,SEREGN.
EX ZZZVAA 072006,082006,092006,102006,112006,122006,012007,022007,
032007,042007,052007,062007,072007,082007,092007,102007,
HOMOFF,HOMOFF.
**************************** Bottom of Data ****************************
I have to move it to production , previously it was running manualy.
Here problem comes as I have to covert this jcl into proc step and i have to pass these values(in proc) tru utypsym which is again cannot take parameter length more than 100. so,
question is how i productionise it.
did u get my problem..
tnx
you r right dick, but that is only can done when, u have static data or constants
but here my problem is: it has to update every month like, one new month will be added and one old month will be truncated and it has to be done autometicaly tru esp or ajs.
r u getting till now if yes reply back then i ll discuss next problem
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
Hello,
Quote:
it has to update every month like, one new month will be added and one old month will be truncated
Yes, it is quite common for control informaton to be updated periodically. This is not usually a big deal? Some process is implemented to create new control info and this process is scheduled to be done before the job(s) using the control info execute.
Yes, you r right, now these parameter has to be copied into the file and the location of file would be given to sisin in the proc.
here in ibm one utility utypsym is there which dynamically resolve the parameter in the file like if i pass date as a parameter in the utypsym it will resolve date as 200807 in the file dynamically ... its like
EX PGMNAME &DATE in sysin pds(mem) will be resolve as EX PGMNAME 200807
FOR LENGTH UPTO 100 WE CAN PASS AS A PARAMETER IN UTYPSYM , BUT IT IS MORE THAN THAT.
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
Hello,
TURN YOUR CAPS OFF. . .
Quote:
HOPE U UNDERSTAND
Yes, i understand - so far, you do not. . .
Quote:
SO QUESTION IS HOW TO PASS IT DYNAMICALLY..
You dynamically replace the contents of the sysin file before each execution - you will not pass all of the data dynamically in some parm.
Quote:
EX PGMNAME &DATE in sysin pds(mem) will be resolve as EX PGMNAME 200807
This example shows a symbolic parameter which will not work for your requirement. You will probably not use UTYPSYM for this data. You must implement a process that either updates the old set of parms or creates a new set for each month.
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
Hello,
Who/what is responsible for the monthly change in the control informaton that is used by Focus?
What part of the control info changes each month? Other than the region specification, the series of months and years is the same - and they end last October?
If the control info posted is "last month" what will the control informaton for "this month" contain?