IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Fetching data from JHS as per the current date


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
arunsoods

New User


Joined: 13 Jul 2016
Posts: 35
Location: India

PostPosted: Wed Nov 22, 2017 1:54 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Wed Nov 22, 2017 1:56 pm
Reply with quote

the manual for JHS will be happy to correct You icon_cool.gif
Back to top
View user's profile Send private message
arunsoods

New User


Joined: 13 Jul 2016
Posts: 35
Location: India

PostPosted: Wed Nov 22, 2017 2:16 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Wed Nov 22, 2017 2:44 pm
Reply with quote

ask Your support on how to locate the manuals inside Your organization
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Nov 22, 2017 5:51 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts To get the the current time DFSORT/ICETOOL 13
No new posts Need to convert date format DFSORT/ICETOOL 20
Search our Forums:

Back to Top