Hi folks, this is a task I've received from my online professor, who is conveniently away for a month after assigning this lol....(tl;dr version at bottom)
I'm trying to create a CL program that will run a DFU program that I've already created.
Breakdown of what's what:
structure of the library
This really is my first time programming in CL, so I don't even know if the syntax is right.
what I have so far:
it compiles successfully, and when I call the CL program
CALL CUSTINFOLB/CIFCL99 it doesn't do anything, I see the xSystem (in white) appear and then thats it, nothing else happens.
What should appear is the DFU program allowing me to insert or change data.
:::tl;dr::::
I'm trying to create a CL Program and this is the breakdown of the requirements I've gathered:
I really appreciate any help I can get. I just don't know what I'm doing wrong. I've asked help on another website as well, but im desperate trying to get help anywhere i can right now.
__________________________________________________ _________________________
In case that's a little confusing, here's the background on my assignment, what's coloured in red is already completed.
I'm trying to create a CL program that will run a DFU program that I've already created.
Breakdown of what's what:
structure of the library
Code:
[U] CUSTINFOLB [/U] CIF *PGM DFU CIFCL99 *PGM CLLE CIF *FILE DFU CIFFILE *FILE PFDTA CIFFILE1 *FILE LF QCLSRC *FILE CONTAINS CLLE CODE CIFCL99 QDDSSRC *FILE CONTAINS DDS CODE FOR CIFFILE, CIFFILE1
This really is my first time programming in CL, so I don't even know if the syntax is right.
what I have so far:
Code:
PGM CHGDTA DFUPGM(CIF) FILE(CUSTINFOLB/CIFFILE1) ENDPGM
CALL CUSTINFOLB/CIFCL99 it doesn't do anything, I see the xSystem (in white) appear and then thats it, nothing else happens.
What should appear is the DFU program allowing me to insert or change data.
:::tl;dr::::
I'm trying to create a CL Program and this is the breakdown of the requirements I've gathered:
CL program calls DFU program
a menu with options will pop up
- Initiate CIF Program
- Exit
When a user selects an option a message will appear stating an action has been taken, example: "CIF Data Entry Program is now executing"
a menu with options will pop up
- Initiate CIF Program
- Exit
When a user selects an option a message will appear stating an action has been taken, example: "CIF Data Entry Program is now executing"
I really appreciate any help I can get. I just don't know what I'm doing wrong. I've asked help on another website as well, but im desperate trying to get help anywhere i can right now.
__________________________________________________ _________________________
In case that's a little confusing, here's the background on my assignment, what's coloured in red is already completed.
Code:
[COLOR=#FF0000]? Create 4 DDS Specifications for each of the 4 file groups based on the information specified at the end of the assignment. (based on the names listed at the end of the assignment) ? Create 4 DFU programs for each of the 4 files you set up with DDS specifications.[/COLOR] ? Create 4 CL programs to run the DFU programs you have created. (based on the names listed at the end of the assignment) o Include some comments as well as a message that will appear on the screen once the menu option has been chosen. o For example, if you chose Option # 1 to Enter CIF data, a message should initially appear such as - 'CIF DATA ENTRY PROGRAM IS NOW EXECUTING' ? Create 3 Menus for each of the 3 departments(Order Entry/Inventory /Purchasing) (based on the names listed at the end of the assignment) with appropriate titles on each menu. ? Create a main menu called MAINMENU to access the 3 department menus. ? Create a Query/400 report based on the CIF file and add it to the main menu as an option. ? Ensure that you have followed the 3 requirements as follows: o Create the Query as a report by choosing the 'Print' option. o Format the CIF # to eliminate the ?,? from the number on the report. o Place a Page heading on the report. ? The Main menu should include the following menu options: o Go to the 3 various ?department? menus o Run the CIF Query program o Access the Spool file o Sign off ? Set up the CLP programs on the menus you have created.
Comment