Re: Easytrieve*A010 INVALID FILE REFERENCE -

2011-08-30 Thread Wissink, Brad [ITSYS]
You need a file statement to define DATEPARM as a file.  You must also have a 
JCL DD statement named DATEPARM pointing to the data control data set. The file 
statement should be before the JOB statement and look something like
FILE DATEPARM
*  Field-name   locationlength  attribute
  DATEPARM-Field1  110  A

Brad Wissink
Information Technology Services
Iowa State University
515-294-3088
-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of 
Don Imbriale
Sent: Tuesday, August 30, 2011 1:17 PM
To: IBM-MAIN@bama.ua.edu
Subject: Re: Easytrieve*A010 INVALID FILE REFERENCE -

Perhaps the Easytrieve manuals can shed light on the error message or the
proper syntax for file reference.  Failing that, a call to the vendor might
be in order.

- Don Imbriale

On Tue, Aug 30, 2011 at 9:51 AM, Ron Thomas  wrote:

> Hi ,
>
> I am new to easytrive, i  have modified a module and added a new date
> control card , it is giving the message "*A010 INVALID FILE REFERENCE -
> DATEPARM". Can anyone pls help me know what is the issue over here?
>
> JOB INPUT VENINPUT
>
> GET DATEPARM - > newly added to read the datecontrol file
>
> IF DTL = 'HDR'
>   WS-HDR-DT = IDATE
>   WS-HDR-DATE-CCYY = WS-IN-HDR-DT-CCYY
>   WS-HDR-DATE-MM = WS-IN-HDR-DT-MM
>   WS-HDR-DATE-DD = WS-IN-HDR-DT-DD
>   DISPLAY 'HEADER DATE :   ' WS-HDR-DATE
> END-IF
>
> Regards
> Rajeev
>
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Easytrieve*A010 INVALID FILE REFERENCE -

2011-08-30 Thread Don Imbriale
Perhaps the Easytrieve manuals can shed light on the error message or the
proper syntax for file reference.  Failing that, a call to the vendor might
be in order.

- Don Imbriale

On Tue, Aug 30, 2011 at 9:51 AM, Ron Thomas  wrote:

> Hi ,
>
> I am new to easytrive, i  have modified a module and added a new date
> control card , it is giving the message "*A010 INVALID FILE REFERENCE -
> DATEPARM". Can anyone pls help me know what is the issue over here?
>
> JOB INPUT VENINPUT
>
> GET DATEPARM - > newly added to read the datecontrol file
>
> IF DTL = 'HDR'
>   WS-HDR-DT = IDATE
>   WS-HDR-DATE-CCYY = WS-IN-HDR-DT-CCYY
>   WS-HDR-DATE-MM = WS-IN-HDR-DT-MM
>   WS-HDR-DATE-DD = WS-IN-HDR-DT-DD
>   DISPLAY 'HEADER DATE :   ' WS-HDR-DATE
> END-IF
>
> Regards
> Rajeev
>
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Easytrieve*A010 INVALID FILE REFERENCE -

2011-08-30 Thread Mike Schwab
DATEPARM goes EOF on second VENINPUT record?

For a 1 record input, how about putting the GET DATEPARM in the START PROC?

JOB INPUT VENINPUT START START-PROC
START-PROC. PROC
  GET DATEPARM
END-PROC

On Tue, Aug 30, 2011 at 8:51 AM, Ron Thomas  wrote:
> Hi ,
>
> I am new to easytrive, i  have modified a module and added a new date control 
> card , it is giving the message "*A010 INVALID FILE REFERENCE - DATEPARM". 
> Can anyone pls help me know what is the issue over here?
>
> JOB INPUT VENINPUT
>
> GET DATEPARM - > newly added to read the datecontrol file
>
> IF DTL = 'HDR'
>   WS-HDR-DT = IDATE
>   WS-HDR-DATE-CCYY = WS-IN-HDR-DT-CCYY
>   WS-HDR-DATE-MM = WS-IN-HDR-DT-MM
>   WS-HDR-DATE-DD = WS-IN-HDR-DT-DD
>   DISPLAY 'HEADER DATE :   ' WS-HDR-DATE
> END-IF
>
> Regards
> Rajeev
-- 
Mike A Schwab, Springfield IL USA
Where do Forest Rangers go to get away from it all?

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Easytrieve*A010 INVALID FILE REFERENCE -

2011-08-30 Thread Ron Thomas
Hi ,

I am new to easytrive, i  have modified a module and added a new date control 
card , it is giving the message "*A010 INVALID FILE REFERENCE - DATEPARM". Can 
anyone pls help me know what is the issue over here?

JOB INPUT VENINPUT

GET DATEPARM - > newly added to read the datecontrol file

IF DTL = 'HDR'
   WS-HDR-DT = IDATE
   WS-HDR-DATE-CCYY = WS-IN-HDR-DT-CCYY
   WS-HDR-DATE-MM = WS-IN-HDR-DT-MM
   WS-HDR-DATE-DD = WS-IN-HDR-DT-DD
   DISPLAY 'HEADER DATE :   ' WS-HDR-DATE
END-IF

Regards
Rajeev 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html