on 05-26-2006 1:19 PM
Hi people,
If someone made a call job in the SM35 I need your help!
I use this two function to call a job, but when I debug the program in the SM35 transaction the JOB CLOSE function get the 'X' of processed in the variable that the function return but if I use the same function in the SE37 with other job the function don't return me the 'X' and I pass all the parameters that the function need.
Thanks for the help.
call function 'JOB_OPEN'
exporting
jobgroup = bi
jobname = jname
importing
jobcount = jnumb
exceptions
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
others = 99.
call function 'JOB_CLOSE'
exporting
jobcount = jnumb
jobname = jname
strtimmed = x
targetsystem = batchsys
importing
job_was_released = jobrele
exceptions
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
no_release_privilege_given = 7
others = 99.
Job_group is like a constant, when I debug the SM35 I see that the system put in the variable this: 'BATCH-INPUT' like a constant.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
i never filled <i>jobgroup</i> in fm job_open
- for what is it?
A.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You need to call <b>JOB_SUBMIT</b> FM in between.
Regards,
Sampath.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Carlos,
Please change this line code
strtimmed = x
to
<b> strtimmed = 'X'</b>
Also you need something it between 'JOB_OPEN' and 'JOB_ CLOSE'. For example, submit <program> ... or 'JOB_ SUBMIT'.
Hope this will help.
Regards,
Ferry Lianto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You need to call JOB_SUBMIT in between open and close.
Regards
vijay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.