|
hi vern, due to hectic shcedule of handling various other things i could nt get time to look into the material,I need help from you to solve this,by EOD i must finish this,though lot of other stuff is in my hand to finish.... TIA, murali. Vern Hamberg <vhamberg@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote: Murali When you want to get information into a CL program, usually you use a RTV* command - try GO CMDRTV (or type RTV* on a command line) and dig around - you will find something there, I assure you. You can look at a RTV* command interactively but will be told it does not run in that environment - ture, it will only run in a program, as it puts values in variables you specify. If you have not done so already, get very familiar with the CMD* menus. Type GO CMD* to see the whole list. An appendix in the CL Programming Guide, I believe, has lots of help on how to find information on various commands on the system, how they are named, etc. It's all very reasonable, built around verbs and subjects. In other languages (and sometimes CL - sorry, Rob), you probably want the various "retrieve" APIs and sometimes the "list" APIs. Good luck Vern At 07:53 AM 11/4/2003 -0800, you wrote: >vern, >i knoe DSPFD and to get that last changed date and variable to hold >that..but iam really confused how to put those stuff in my program?? >.....however i shall look into the info centre material... >Thanks so much vern ! >Murali. > > >Vern Hamberg wrote: >Files also have change time - use that. Check out the file management >manuals - this is pretty basic stuff. Look up commands about members - do >you know about the various menus of commands? Or go to the API finder at >InfoCenter and look up member description and file description APIs. > >Vern > >At 12:57 AM 11/4/2003 -0800, you wrote: > >Hi all, > >following is my cl program.MURALI0 is previous day's > >file.MURALI1 is today's file. > >prior to generating today's file(MURALI1) i shall be > >taking yesterday's file into MURALI0 as per first copy > >file command in my program.The program is running > >fine.But I have problem if i run this program more > >than once in the same day since it replacing MURALI0. > >is there any command (please suggest me) i can include > >before the first copy file command to compare the > >dates (OR) > >If I execute the program more than once ,file MURALI0 > >is having the same data as MURALI1. > >How do i make changes to my program sothat it can be > >run any number of times that day without changing the > >data in the MURALI0(after 1st run). > >for my first time execution of the program,file > >MURALI0 will contain yesterday's data, > >for second execution of the program ,file MURALI0 will > >get today's data since it is copying from MURALI1.so > >teh very purpose of the program is nt working. > >I want to see the program work for any number of runs > >without loosing yesterday's data in MURALI0. > >please suggest me i shall be greatful to you, > >Thanks, > >Murali. _______________________________________________ This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l. --------------------------------- Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.