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

Senior Member


Joined: 14 Mar 2007
Posts: 10492
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

Senior Member


Joined: 14 Mar 2007
Posts: 10492
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: 8378
Location: Dubuque, Iowa, 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 JCL to send email along with formated... wik123 JCL & VSAM 5 Thu Aug 09, 2018 9:48 am
No new posts Send data from a CICS TS program to M... spiThingy CICS 2 Wed Aug 08, 2018 8:58 am
This topic is locked: you cannot edit posts or make replies. Data Sets are files. Please stop str... jasorn JCL & VSAM 11 Wed Aug 08, 2018 1:55 am
This topic is locked: you cannot edit posts or make replies. Add 5 days to a date Ron Klop DB2 19 Wed Jul 25, 2018 8:11 pm
No new posts AFP duplex page containing variable data jose angel santamaria IBM Tools 0 Wed Jul 18, 2018 12:35 pm

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