Hyperion Financial Data Quality Management (FDM/FDMEE) (MOSC)

MOSC Banner

Error at Import- 105039:EPMERPI - 105041:EPMERPI - Error compiling the script &AttributeError: 'list

infilename = fdmContext["INBOXDIR"] +  "FXRATE.txt"
infile = open(infilename, "r").readlines()
firstLine = infile.pop(0) #removes the header(first line)
infile = infile[:-1]#removes the last line
for line in infile:
a = line.split()
fdmAPI.logInfo(str(a))
CheckNumeric = a[4]
CheckNumeric1 = a[5]
strfield = a[3]
fdmAPI.logInfo(str(CheckNumeric))
fdmAPI.logInfo(str(CheckNumeric1))
fdmAPI.logInfo(strfield)
infile.close()

# test to see if it is numeric
CheckNum = CheckNumeric.isnumeric();
fdmAPI.logInfo(str(CheckNum))
if CheckNum == True:
FactorMultiply = CheckNumeric
fdmAPI.logInfo(str(FactorMultiply))
FactorMultiply = int(FactorMultiply)

# test to see if it is numeric
CheckNum1 = CheckNumeric1.isnumeric();
fdmAPI.logInfo(str(CheckNum1))
if CheckNum1 == True:
Factordivide = CheckNumeric1

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center