I want to pass the value from file to Job parameter. I have created the routine as below (only 2 lines) and tried to assign the value to Stage variable.
My intention is to pass the value to Userstatus. then i can assign this value to job parameter
I have successfully compiled and able to test the routine as well. But problem is in Transfromer. Job is not getting compiled. showing the mentioned error message
Take a look at the file RT_BP38/JOB.1510815895.DT.1582836700.TRANS1 in your project. The error may not actually be in the DEFFUN statement - it may be one or two lines prior. Line 0028 is merely the point at which the compiler gave up.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
can you please tell where i can find the this log entries in Unix Server. we have many projects and had created many folder manually in our server. so i could not find any relevant folder for these files.
Just for your information I had selected routine type as Transform Function. Is that ok?
As he noted, in the job's project folder. Unless you've overridden the default, it is typically at the same level as the DSEngine directory, so at worst case you can go there and then:
That's not a log, that's the source code of your Transformer stage.
There's nothing obvious there. What does your support provider advise?
Have you tried building a second copy of the job (or a simplified version) to see whether the problem is reproducible?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
I have created new job and used the same routine. I got the same compilation error.
We haven't contacted the service provider yet.
Process i have followed.
1. Created Server routine with the given code
Call DSSetUserStatus(Arg1)
Ans = Arg1
2. Created the server job and created Stage variable by calling this routine RunNumber(column name) in transfromer stage. just straight moved the input column to sequential file.
3. Saved
4. compiled. here it is giving the compilation error