Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Fetching data from JHS as per the current date

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: Fetching data from JHS as per the current date
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10374
Location: italy

PostPosted: Wed Nov 22, 2017 1:56 pm    Post subject: Reply to: Fetching data from JHS as per the current date
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10374
Location: italy

PostPosted: Wed Nov 22, 2017 2:44 pm    Post subject: Reply to: Fetching data from JHS as per the current date
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: 8201
Location: East Dubuque, Illinois, USA

PostPosted: Wed Nov 22, 2017 5:51 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Moving a COMP-3 Variable to a Numeric... ajayachander COBOL Programming 2 Thu Dec 14, 2017 5:46 pm
No new posts Extract record for change in combinat... Trinadh DFSORT/ICETOOL 6 Thu Nov 23, 2017 3:32 pm
No new posts Extract Record using range of Data scorp_rahul23 DFSORT/ICETOOL 3 Wed Nov 15, 2017 11:54 pm
No new posts Date in where clause - Windows Karthikeyan Subbarayan DB2 9 Wed Nov 15, 2017 9:07 pm
No new posts Comparision with current time arunsoods DFSORT/ICETOOL 5 Thu Nov 09, 2017 10:37 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us