Re: Need Help to fix the error in Groovy Code

2018-03-23 Thread Jorge Aguilera Gonzalez
_hp_stu_cert_status_chk(?, ?, ?, ?, ?, > ?)}"""; > > 44. def status_desc > > 45. def status_code > > 46. def status_data > > 47. def testID > > 48. def parametersList = [in_track_id, ArrayUserName, in_certification_id, > CURSOR_PARAMETER, Sql.NUMERIC ,Sql.VARCHAR]; > > 49. > > 50. > > 51. sql.call(sqlString, parametersList) {out_details, out_status_code, > out_status_desc -> > > 52. status_desc = out_status_desc > > 53. status_code = out_status_code > > 54. }; > > 55. > > 56. > > 57. Print(status_desc) > > 58. Print(status_code) > > And this scripting giving error to of arry.type “ArrayUserName” could any > help where I am making incorrect thing. > > > > > > > > > > Thanks & Regards > *Shekh Shakeel Ahmad,* > > > -- Jorge Aguilera Gonzalez CEO PuraVida Software http://www.puravida-software.com

Re: Remembering imports between script invocations

2018-02-09 Thread Jorge Aguilera Gonzalez
I'm not sure if it's what you want but you can use "evaluate" to include one script into another (see http://gangmax.me/blog/2015/10/15/include-a-groovy-script-in-another/) althought I think is a little dirty To generate UI maybe you can evaluate MarkupTemplateEngine ( http://groovy-lang.org/templ