code: def run_and_read_all(command):
      """Reads and returns entire output if rc is 0"""
      rc, out, _ = run(command)
      if rc != 0:
          return "N/A"
      return out
  
imports: import locale
  import os
  import re
  import subprocess
  import sys
label_desc: Use image node_id 3 for calling a global function with example usage: run_and_read_all(command) and returns: out, str