I am using the Peoplesoft test framework writing data captured via variables to a file - peoplesoft

I am using the Peoplesoft test framework. on creating a script I captured several values using variable now I want to write these values to a file. Tried to do several searches and no luck at all on this subject. Also once I have written these to a file I want to the compare them agains values in another script......any help would be much appreciated.

Could you update a column in a table with the value from script 1, update a different column with the value from script 2 and then compare the columns?
Would this satisfy your requirement?

Related

Adding and updating data in R packages

I'm writing my own R package to carry out some specific analyses for which I make a bunch of API calls to get some data from some websites. I have multiple keys for each API and I want to cycle them for two reasons:
Ensure I don't go over my daily limit
Depending on who is using the package, different keys may be used
All my keys are stored in a .csv file api_details.csv. This file is read by a function that gets the latest usage statistics and returns the key with the most calls available. I can add the .csv file to the package/data folder and it is available when the package is loaded but this presents two problems:
The .csv file is not read properly and all columns names are pasted together to create a single variable name and all values pasted together to create a single observation per row.
As I continue working, I would like to add more keys (and perhaps more details about the keys) to the api_details.csv but I'm not sure about how to do that.
I can save the details as an .RData file but I'm not sure about how it would be updated or read outside of R (by other people). Using .csv means that anyone using the package can easily add/remove some keys.
What's the best method to address 1, 2 above?

Add model parameters and Run timestamp to scored results

I have run an Azure machine learning experiment in Studio and currently am exporting the scored results to Azure SQL.
I want to include in the export data, the "run timestamp" and the model configuration as extra columns.
This is usefull because i can then compare the results from different runs against each other in my Azure SQL database.
Anyone know how to add this data to the scored data set ?
Thanks in advance,
Oliver
You could use the Apply SQL Transformation module to generate the timestamp for each row of scored data, as well as a new string column containing the model configuration.
If you are more comfortable with R, you could use the Execute R Script module to create the new columns.

How to Combine multiple files in BizTalk?

I have multiple flatfiles (CSV) (with multiple records) where files will be received randomly. I have to combine them (records) with unique ID fields.
How can I combine them, if there is no common unique field for all files, and I don't know which one will be received first?
Here are some files examples:
In real there are 16 files.
Fields and records are much more then in this example.
I would avoid trying to do this purely in XSLT/BizTalk orchestrations/C# code. These are fairly simple flat files. Load them into SQL, and create a view to join your data up.
You can still use BizTalk to pickup/load the files. You can also still use BizTalk to execute the view or procedure that joins the data up and sends your final message.
There are a few questions that might help guide how this would work here:
When do you want to join the data together? What triggers that (a time of day, a certain number of messages received, a certain type of message, a particular record, etc)? How will BizTalk know when it's received enough/the right data to join?
What does a canonical version of this data look like? Does all of the data from all of these files truly get correlated into one entity (e.g. a "Trade" or a "Transfer" etc.)?
I'd probably start with defining my canonical entity, and then look towards the path of getting a "complete" picture of that canonical entity by using SQL for this kind of case.

copying information into repeating table component of infopath

I am trying to modify an existing infopath form that contains repeating table container.User enters the details in the table and form is used by another program for processing.
The current requirement is for user should be able to copy data from somewhere and directly paste into table. The user may copy data containing multiple rows and paste it.This source could be anywhere and also the user can still enter data manually row by row so a data connection is not feasible.
But the data gets truncated with only first row getting entered in form as there is only one row present in the form. I found out this was the behavior after googling. Is there a work around for this. Like overwriting paste function using code?
Thanks for any help.
I cannot comment so I will have to leave this as an answer please do not down vote since I am trying to help you out.
Not sure this is possible but try to create a field that allows the user to enter a number of rows. That way they could take a look at the number of rows in their excel spreadsheet and see that it's 32 (or whatever number). Then you could take that number of rows and have the form create a repeating table with the number of rows specified. That way they could paste in the number of rows they need to paste.
This would not be ideal of course but attempting something like this might be easier than overwriting a paste operation.

Filling data in FormView from different tables

I am using a FormView in an online quiz page for displaying the questions and RadioButtons (for answers)
online quiz using ASP dot NET
Now, I need to pick the questions according to a TestID and a particular Set of that Test. The testid and the set_number would be passed using Session variables.
I'm having 3 testIDs and 3 Sets per TestID and, thus, am using 9 tables to store the Questions, the Options and the correct answer.
I need help on how to set the FormView so that it extracts the questions from a particular table only. Do I need to use a StoredProcedure ? If yes, how?
PS: If I use only one table to store all the questions from each Set and for each TestID, I can do that, but I'd prefer using separate tables.
Update
SOLVED myself
[CLOSED]
You can make a view for gathering data from your tables. then query this view and use the returned data.

Resources