|
Murali, If you are working with flat files without field definitions, you can use IDDU (Interactive Data Definition Utility) to create field definitions that RUNQRY and STRDFU can use. Use the STRIDD command. Dan Miller Murali dhar <hydchap1@xxxxxxxxxxxxxx> wrote: hi all, I want to knoe more abt program described file,neither = got an opportunity to knoe more abt nor used much... 1)i would like t= o knoe whether RUNQRY commands etc can be used to see contents of program d= escribed file below is part of the RPG/400 program iam analyzing...At= the end some O specs after some calculations('c' specs).. 2)wh= ether all the commands( i use for all externally described files like= RUNQRY,DSPFD)can be used for program described files? 3)in the follo= wing case iam nt getting any output in spool file?is there any other way i = can see the output for this program described file? 4)program describ= ed files are defined in programs...are there any major differences btw prog= ram described and externally described files in real practical applications= ? Please provide me some pointers,I wud really appreciate if some one shares his knowledge . Thaks in advance, Murali. ==================== ========================= ========================= = FGMIRPMF1 UF F 218 = ; DISK IGMIRPMF1 AA &nbs= p; &n= bsp; I = ; &nb= sp; 2 2 FIRM I = ; &nb= sp; 13 17 CIDENT &nb= sp; I = &nbs= p; 20 22 CFIRM I &n= bsp; = 5 12 OFCAC I= = ; 13 16 NAME= I &nb= sp; &= nbsp; 30 33 CCYY I &n= bsp; = 55 56 TYPE I = = ; 201 202 CLSUB ---------------------------------------------------------- AFTER = SOME CALCULATIONS statements (C specs) ------------------------------= ------------------------------ &nb= sp; &= nbsp; OGMIRPMF1E &nb= sp; OUT O &nb= sp; 99 FIRM &= nbsp; 2 &nbs= p; O = 99 OFCAC&nbs= p; 12 = O &n= bsp; 99 CFIRM 22&nb= sp; <= BR> O = ; 97 33 '1999' = ; ===== ========================= ========================= ============= SRC="http://ads.rediff.com/RealMedia/ads/adstream_nx.cgi/www.rediffmail .com/inbox.htm@Bottom" BORDER=0 VSPACE=0 HSPACE=0 HEIGHT=74 WIDTH =496> _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l. --------------------------------- Do you Yahoo!? The New Yahoo! Shopping - with improved product search
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.