Please use the IBM AS/400 (zeus )to answer the following question
6 – Look at the CL source member.
a)
Copy the member and rename it ASSIGN1.
b)
You are to rearrange this source code to make it useable. The SNDRCVF command
must be the last command to execute before the end of the program.
c)
The DCLF is a declare statement similar to a DCL statement.
d)
Hint: Keep in mind the order of the Command Statements.
7 – Once you have rearranged the code, what would you do next to make the code
executable as a program?
8 – Using your answer to 7, make the code executable.
9 – Execute the program and follow any instructions. What command did you use to
execute the program?
10 – Print the completed rearranged source of ASSIGN1.
11 – Execute the command DSPJOBLOG OUTPUT(*PRINT)
This command will create a spool file QPJOBLOG.
Trending nowThis is a popular solution!
Step by stepSolved in 2 steps
- in c# i need to Write the program named DirectoryInformation that allows a user to continually enter directory names until the user types end. If the directory name exists, display a list of the files in it; otherwise, display the following message, Directory foo does not exist, to indicate the directory does not exist (foo would be the name of the directory to be checked) . Create as many test directories and files as necessary to test your program. An example of the program is shown below: Enter a directory >> lorem lorem contains the following files lorem/ipsum.txt Enter another directory or type end to quit >> foo Directory foo does not existarrow_forwardIf a struct is declared in a .h file, the struct will need to be declared in the .cpp file as well, even if the .h file is #included in the .cpp file. Group of answer choices True False =================== Given the struct below, what is the correct method of accessing the data for the member variable age? struct Human{ string name; int age; }; Human human; Group of answer choices Human.age Human(age) Human[2] human.age human(age) human[2] ================= Consider the following code: struct MyStruct { int x; } void update(MyStruct test) { test.x=10; } MyStruct m1={15}; update(m1); cout<<m1.x<<endl; Group of answer choices 10 15 Compilation Error: Cannot initialize a structure that way Compilation Error: Structure must be passed by referencearrow_forwardin pythonarrow_forward
- Expected Output: A) Success Case: B) Failure Case: Enter details of 1 Employee Enter Employee Id : 11 Enter details of 1 Employee Enter Employee Id : 101 Enter Employee Name : John Mathew Enter Enployee Name : KS Enter Employee Age : 23 Enter Enployee Age : 34 Enter Employee Salary : 6787.89 Enter Employee Salary : 2345.6 Enter details of 2 Enployee Enter Employee Id : 201 Enter details of 2 Employee Enter Enployee Id : 12 Enter Employee Name : Harry Bajwa Enter Employee Age : 34 Enter Enployee Name : WR Enter Employee Salary : 8765.43 Enter details of 3 Employee Enter Employee Id : 301 Enter Enployee Age : 35 Enter Employee Salary : 5678.99 Enter Employee Name : Sana Murshid Enter details of 3 Employee Enter Enployee Id : 13 Enter Employee Age : 25 Enter Employee Salary : 6784.34 Details of Employees (Original Data) Id Enter Employee Name : RT Name Age Salary Enter Enployee Age : 45 101 201 301 John Mathew 23 6787.89 Наггy Bajна Sana Murshid 34 8765.43 Enter Enployee Salary : 8974.35…arrow_forward1) Rearrange the code in correct and logical statement order. 2) Provide a value for the &NAME variable. This value should be your user profile name. 3) Compile the program to create an executable object. To make sure your program compiled you can use various methods including displaying your messages; displaying the program; display the object description; look at your submitted jobs; but the best way is to look for the compiler listing with the same name as your program. Provide the compile listing. The compiled time must match the object created. 4) Execute and test the program. 5) Make sure MCAMPBELL has *USE authority to your library and *USE authority to all objects in you library I will execute the program to confirm it works. Please note that: You may enter this code into SEU (PDM editor) yourself or you may copy it to your CL Source file from QCLSRC member ASSIGN2 from library BCI433N1A by executing this CL command your command line (nn is your class student #):…arrow_forward2. Create a contacts module to meet the following requirements: i. Create a file named contacts.py . a. Define a class named Contacts. a. Define a member function named __init___ to meet the following requirements: a. Take a self as a positional parameter. b. Take a filename as a keyword parameter. c. Set a member variable equal to the filename. d. Set a member varialbe equal to an empty data dictionary. e. Open the filename and load the JSON decoded contents to the empty data dictionary. f. Cleanly manage the FileNotFoundError if the filename does not exist. b. Define a member function named add_contact to meet the following requirements: a. Take a self as a positional parameter. b. Take a id as a keyword parameter. c. Take a first_name as a keyword parameter. d. Take a last_name as a keyword parameter. e. If the id exists in the data dictionary, return the string error. f. Set the id:[first_name, last_name] key:value pair to the data dictionary. g. Sort the data dictionary in…arrow_forward
- This is a main module. w7_main Module (supplied) Do not modify this module! Look at the code and make sure you understand it. // Workshop 7 // Version: 1.0 // Author: Asam Gulaid // Description: // This file tests your workshop 7 ///////////////////////////////////////////// #include<iostream> #include "Minister.h" #include "Minister.h" // intentional #include "MemberParliament.h" #include "MemberParliament.h" // intentional using namespace std; using namespace sdds; void printHeader(const char* title) { char oldFill = cout.fill('-'); cout.width(62); cout << "" << endl; cout << "|> " << title << endl; cout.fill('-'); cout.width(62); cout << "" << endl; cout.fill(oldFill); } void newElections(Minister& aMinister, const char* district, const char* newPM, double year) { aMinister.NewDistrict(district); aMinister.changePM(newPM); aMinister.assumeOffice(year); cout << "Status of New Election " << aMinister << endl…arrow_forwardHi, I need to solve this problem with C++ programming language using Visual Studio. Thank you.arrow_forwardThe Directory class has a list of names in it. You should use dynamic memory to create anarray upon instantiation. You should create a copy constructor for the directory class and anassignment operator (i.e. operator=()). You should create a function called fillDirectory whichaccepts a size for the directory and the names for it both of which should be given by the user.In main, create directory1 and fill it with information. Use the assignment operator=() to setdirectory2 equal to directory1. This is in c++arrow_forward
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education