You set flags for end-of-file, but never use them. Some Chapters are locked, Forum members have free access to these chapters CICS TutorialThis CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming... blog comments powered by Disqus Search Topics BMC COBOL DB2 DSNTIAUL Easytrieve Excel GDG Google ICETOOL IDCAMS IKJEFT01 Java JCL REXX SAS site-stats SORT Swing Uncategorized VBA Easytrieve VariablesVariable declaration Declaring Ideally your easytrieve match logic should be as follows Code: FILE FILEA FILEA-KEY 01 010 A http://auctusdev.com/invalid-file/invalid-file-name-error-loading-crystal-report-file.html
after eof), the reference is invalid. If yes, maybe post back here what duplicates can exist.You have a GO TO JOB in the code, just before the first PROC. Not just in the code that you have shown, but anywhere.
You are getting Invalid file reference error because you might be referrring to file in a not found condition. can some one plz help me. [/img][/quote]Last edited by bmiryala on Tue Apr 23, 2013 4:18 pm; edited 1 time in total Back to top <-- Click on right mark icon. I would suggest moving the status check to right after the read.Hope this helps. Cancel Red Flag SubmittedThank you for helping keep Tek-Tips Forums free from inappropriate posts.The Tek-Tips staff will check this out and take appropriate action.
matching a string and replace mainframegurukul.com Forum Index -> EASYTRIEVE View previous topic :: View next topic Author Message bmiryalaMemberJoined: 23 Apr 2013Posts: 1 0 votes Invalid File Reference Excel Xml Close Reply To This Thread Posting in the Tek-Tips forums is a member-only feature. Do you have duplicate keys on either file? KEY i have used is JOB INPUT ( FILEA KEY (KEY1) FILEA KEY (KEY1) ) both KEY1 and KEY2 has length 10 characters.
PROC. With an empty FILE1 you'll not get your field set anyway as the record-count for that file will never reach one. If you don't test, then you'll get the Invalid File Reference if the record is not there.With your code, RECORD-COUNT ( FILE1 ) is equal to one on more than one If you have the counts, display them for information.You are using "=" in your IFs and in your assignments.
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 here Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 YearOldest FirstNewest First mainframegurukul.com Forum Index -> EASYTRIEVE All times are GMT + 5 Hours Page 1 of How To Resolve A010 Invalid File Reference Posting Guidelines Promoting, selling, recruiting, coursework and thesis posting is forbidden.Tek-Tips Posting Policies Jobs Jobs from Indeed What: Where: jobs by Link To This Forum! PROC.
I have a DLBL like this .. //DLBL DATAPRM, 'DATAPRM.SAM' I am trying to populate the masterfile by data using the input file DATAPRM (card) .. http://auctusdev.com/invalid-file/invalid-file-error-in-qtp.html If not, test with duplicates anyway so that you know what the situation looks like. For instance, if the key on file1 is the highest key, and there is only one record, you will not get the A010. For all other cases it works just fine.Recrods in FILE1 Records in FILE2 JOB STATUS0 0 SUCCESS0 1 SUCCESS0 M (Many) SUCCESS1 0 SUCCESS1 1 SUCCESS1 M (Many) FAILSM 0 SUCCESSM
Can you cast a quickened spell or power when its not your turn? while i have compared these two files i got this FILEA 4 INPUT FILEB 3 INPUT and A010 -INVALID FILE REFERENCE - FILEB It is not End of file in both I think clearer if you use EQ/NE etc in the IFs and "=" in the assignments. http://auctusdev.com/invalid-file/invalid-file-dsn-error.html William CollinsActive MemberJoined: 24 May 2012Posts: 714 0 votes 0 salutes Posted: Wed Apr 24, 2013 5:15 am Post subject: I'd put a STOP in the program.
I hope this is only a part of your testing. Join Us! *Tek-Tips's functionality depends on members receiving e-mail. Join them; it only takes a minute: Sign up Easytrieve A010 invalid file reference up vote 0 down vote favorite I am getting the error in this line of my easytrieve
Home EasytrieveDB2 REXXSORT ICETOOLDSNTIAUL Excel Java SASothers About me Loading Filed Under:Easytrieve A010 INVALID FILE REFERENCE - filename A fieldname was referenced in a file that had no active record. Register now while it's still free! JOB INPUT NULL MASTER-FILE GET DATAPRM <~~~~~~~ LINE 59 DO WHILE NO EOF DATAPRM ... Close this window and log in.
Please Vote for good Posts. PROC DISPLAY WS-COUNT-02CS DISPLAY WS-COUNT-CS02 please give me brief ex 2 2 static and dynamic calls 2 2 DB2 Certification Guidelines 2 2 Cobol Multiple Choice Questions By Shravan Wipro 2 2 Hexadecimal to decimal conversion his comment is here Code: FILE INFILE1 INFILE1-REC 1 424
more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed When posting code, jcl, data, etc, you should use the Code tag to preserve alignment and improve readability._________________Have a good one Back to top <-- Click on right mark icon. It does contain important jcl .... GET INFILE2 IF EOF INFILE2 WS-INFILE2-EOF = 'Y' END-IF
Back to top <-- Click on right mark icon. Cheers_________________Satheesh Back to top satheeshsBeginnerJoined: 06 Jul 2006Posts: 13Topics: 3Location: 'Mainframe World' Posted: Tue Jul 11, 2006 9:14 am Post subject: Quote: got this FILEA 4 INPUT FILEB 3 INPUT and Home Easytrieve DB2 REXX SORT ICETOOL DSNTIAUL Excel Java SAS others About me Loading Filed Under:Easytrieve Easytrieve Error messages A0** and B0** A001 File OPEN Error A002 Invalid block Size A003