View previous topic :: View next topic
|
Author |
Message |
arunsoods
New User
Joined: 13 Jul 2016 Posts: 35 Location: India
|
|
|
|
Hi Team,
I am using JHSARPRT to copy required data from JHS but I need to schedule this job which will run every day. So for that I want the date field should pick automatically.
I have prepared below code:-
Code: |
LOGON SYSTEM(XAD0)
OPTIONS OUTFILE(OUTFILE) MAXJOBS(999) AUTORESTORE(YES) RESTOREWAIT(59)
PRINT JOB(TABISLAG) -
STEP(JES2) -
DDNAME(JESMSGLG) -
FROMSTARTDATE(&DATE1)
REPORTS(YES)
LOGOFF |
But it is giving below Syntex error msg:-
Code: |
#0000001:LOGON SYSTEM(XAD0)
LOGON to XAD0 successful from JOB IL0558AJ JOB58215 as user /USER/AXIOM
#0000002:OPTIONS OUTFILE(OUTFILE) MAXJOBS(999) AUTORESTORE(YES) RESTOREWAIT(59)
#0000003:PRINT JOB(TABISLAG) -
STEP(JES2) -
DDNAME(JESMSGLG) -
FROMSTARTDATE(&DATE1)
ERROR: CONTROL STATEMENT SYNTAX ERROR - FROMSTARTDATE(&DATE1)
CONTROL STATEMENT ERRORS. PROCESSING TERMINATED.
01:13:06 JHSARPRT ENDED RC=16 |
Can anybody please correct me where I am wrong. Thanks in Advance. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
the manual for JHS will be happy to correct You |
|
Back to top |
|
|
arunsoods
New User
Joined: 13 Jul 2016 Posts: 35 Location: India
|
|
|
|
Hey Enrico,
Thanks for quick response. I searched on web I could not find the JHS Manual. If anybody have the JHS Manual please share.
Thanks |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
ask Your support on how to locate the manuals inside Your organization |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
If anybody have the JHS Manual please share. |
Some vendors allow anyone to look at their manuals; some vendors allow only qualified customers to look at their manuals. If the JHS vendor is one of the latter, then your ONLY source for manuals is your site -- they will be available in hard copy, or intranet, or through contacting the vendor. And it would be wrong (and possibly illegal) for anyone else to provide you with manuals. |
|
Back to top |
|
|
|